Announcements
I have a solution with a custom API that fails when importing into a fresh on-prem v9.1 org. It will import to 90 percent then fail with a generic error: “The operation timed out. This may be because a solution is currently being imported into this environment. Please try again after the solution import is completed. Solutions should be imported outside of working hours if possible.”
I’ve tried updating the time out, which did nothing as I get the same error. After removing the custom API folder from the solution, it imports successfully.
Anyone have success importing a custom solution containing a custom API on a fresh on-prem v9.1 org?
As a side note, I also tested having a basic “Hello World” custom API solution, which also fails.
Thank you
Yes, sir, I did add all the components that were needed.
Unpack the solution to confirm the components needed.
Also, I exported the solution and tried to import it into the new install.
Both case still gives me a failed import.
Hi,
I hope you added all the required components related to custom api in your solution.
You can do that by selecting the custom api and then click add required components inside your solution.
Thank you for your fast response. I can only see a few errors, but none is pointing to custom API.
Crm Exception: Message: The entity with a name = 'none' with namemapping = 'Platform' was not found in the MetadataCache. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False Crm Exception: Message: Cannot insert duplicate key., ErrorCode: -2147220937 Crm Exception: Message: The specified object was not found., ErrorCode: -2147220969
Thank you
Are there any other details besides the generic error? Have you enabled Platform traces to see if you can get further details?
André Arnaud de Cal...
294,261
Super User 2025 Season 1
Martin Dráb
232,996
Most Valuable Professional
nmaenpaa
101,158
Moderator