- changed status to open
Retrieving all metadata results in error
Hi,
When retrieving all metadata from a specific Org I get the following error:
UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 1346469402-20479 (-673032061)
It looks like it stops at the step "Retrieving archive
".
I have tried downgrading to a lower API version from 59 all the way down to version 53. Getting the same error for each version.
I have attached a snippet of the idea.log
2023-10-31 08:41:33,753 [ 205071] INFO - org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean - Creating Service {urn:partner.soap.sforce.com}PartnerService from class com.sforce.soap.partner.PartnerApi
2023-10-31 08:41:33,769 [ 205087] INFO - org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean - Creating Service {http://soap.sforce.com/2006/04/metadata}MetadataService from class com.sforce.soap.metadata.MetadataApi
2023-10-31 08:41:33,863 [ 205181] INFO - #com.illuminatedcloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.metadata.SessionHeader took 16 ms.
2023-10-31 08:41:33,879 [ 205197] INFO - #com.illuminatedcloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.metadata.CallOptions took 16 ms.
2023-10-31 08:41:33,895 [ 205213] INFO - org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean - Creating Service {http://soap.sforce.com/2006/08/apex}ApexService from class com.sforce.soap.apex.ApexApi
2023-10-31 08:41:33,910 [ 205228] INFO - #com.illuminatedcloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.apex.SessionHeader took 0 ms.
2023-10-31 08:41:33,926 [ 205244] INFO - #com.illuminatedcloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.apex.CallOptions took 16 ms.
2023-10-31 08:41:33,926 [ 205244] INFO - org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean - Creating Service {urn:tooling.soap.sforce.com}ToolingService from class com.sforce.soap.tooling.ToolingApi
2023-10-31 08:41:34,098 [ 205416] INFO - #com.illuminatedcloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.tooling.SessionHeader took 47 ms.
2023-10-31 08:41:34,145 [ 205463] INFO - #com.illuminatedcloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.tooling.CallOptions took 47 ms.
2023-10-31 08:41:34,570 [ 205888] WARN - #com.illuminatedcloud.intellij.util.MetadataDescribeIndex - Failed to find a child metadata describe for SharingRules.SharingGuestRule
2023-10-31 08:41:34,570 [ 205888] WARN - #com.illuminatedcloud.intellij.util.MetadataDescribeIndex - Failed to find a child metadata describe for ManagedTopics.ManagedTopic
2023-10-31 08:41:34,580 [ 205898] INFO - org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean - Creating Service {http://soap.sforce.com/2006/04/metadata}MetadataService from class com.sforce.soap.metadata.MetadataApi
2023-10-31 08:41:34,586 [ 205904] INFO - org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean - Creating Service {http://soap.sforce.com/2006/08/apex}ApexService from class com.sforce.soap.apex.ApexApi
2023-10-31 08:41:34,586 [ 205904] INFO - org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean - Creating Service {urn:tooling.soap.sforce.com}ToolingService from class com.sforce.soap.tooling.ToolingApi
2023-10-31 08:41:35,249 [ 206567] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - Failed to list metadata as a batch. Will try again one at a time: org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: Unknown type:CustomFieldTranslation
2023-10-31 08:41:35,597 [ 206915] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:35,597 [ 206915] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:35,769 [ 207087] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - Failed to list metadata as a batch. Will try again one at a time: org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: Cannot use: WaveTemplateBundle in this organization
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:36,571 [ 207889] WARN - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - No metadata type included in the response. Determining the metadata type automatically.
2023-10-31 08:41:44,955 [ 216273] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - Failed to list metadata for WaveTemplateBundle: org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: Cannot use: WaveTemplateBundle in this organization
java.lang.Throwable: Failed to list metadata for WaveTemplateBundle: org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: Cannot use: WaveTemplateBundle in this organization
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
at com.illuminatedcloud.intellij.configCache.FilePropertiesCache$3.process(SourceFile:436)
at com.illuminatedcloud.intellij.configCache.FilePropertiesCache$3.process(SourceFile:406)
at com.illuminatedcloud.util.ParallelBatchProcessorExecutor.lambda$execute$0(SourceFile:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
2023-10-31 08:41:44,955 [ 216273] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - Failed to list metadata for CustomFieldTranslation: org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: Unknown type:CustomFieldTranslation
java.lang.Throwable: Failed to list metadata for CustomFieldTranslation: org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: Unknown type:CustomFieldTranslation
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
at com.illuminatedcloud.intellij.configCache.FilePropertiesCache$3.process(SourceFile:436)
at com.illuminatedcloud.intellij.configCache.FilePropertiesCache$3.process(SourceFile:406)
at com.illuminatedcloud.util.ParallelBatchProcessorExecutor.lambda$execute$0(SourceFile:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
2023-10-31 08:41:44,964 [ 216282] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - IntelliJ IDEA 2023.2.3 Build #IC-232.10072.27
2023-10-31 08:41:44,965 [ 216283] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - JDK: 17.0.8.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2023-10-31 08:41:44,965 [ 216283] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - IntelliJ IDEA 2023.2.3 Build #IC-232.10072.27
2023-10-31 08:41:44,965 [ 216283] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - JDK: 17.0.8.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2023-10-31 08:41:44,966 [ 216284] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - OS: Windows 11
2023-10-31 08:41:44,966 [ 216284] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - OS: Windows 11
2023-10-31 08:41:44,966 [ 216284] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - Plugin to blame: Illuminated Cloud 2 version: 2.2.8.6
2023-10-31 08:41:44,966 [ 216284] SEVERE - #com.illuminatedcloud.intellij.configCache.FilePropertiesCache - Plugin to blame: Illuminated Cloud 2 version: 2.2.8.6
Thank you in advance.
Best regards
Hoang
Comments (3)
-
repo owner -
repo owner - changed status to resolved
Resolving as this is a Salesforce internal server error from their own retrieval API.
-
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment
Hi. The error you're getting is an internal server error on the Salesforce side, often called a GACK. There's not really anything IC2 can do to work around it automatically, but generally GACKs on metadata retrieval are caused by one or more requested metadata types/objects in the request payload. Your best bet is to try to adjust your retrieval request to include less to try to isolate the problemmatic metadata.