Comments (7)
For anyone else who had this problem, you can easily solve it by manually creating a remote site setting for the domain of the page you are seeing when you get the error. In other words, if the page is:
https://YourDomainName--c.ap7.visual.force.com/apex/CustomMetadataLoader
Then create a remote site setting for:
https://YourDomainName--c.ap7.visual.force.com
Then try the page again and it should work.
(At least this is what worked for me.)
from custommetadataloader.
from custommetadataloader.
Thanks - will take a look and fix.
from custommetadataloader.
I am facing the exact same issue. I Have a custom domain and it is not letting me create a remote site. How do I go about doing this manually?
from custommetadataloader.
I found I needed to add the domain of the VF page as a Remote Site to allow the Remote Site creation piece to work e.g.
https://[CustomDomain].na59.visual.force.com
To find that, I added {!host} to the VF page and then just copied to Remote Site
from custommetadataloader.
After adding the remote site setting, I get the following error:
System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session faultcode=sf:INVALID_SESSION_ID faultactor=
Error is in expression '{!checkMdApi}' in component apex:page in page custommetadataloader: Class.MetadataService.MetadataPort.listMetadata: line 9218, column 1
Class.MetadataUtil.checkMetadataAPIConnection: line 30, column 1
Class.CustomMetadataLoaderController.checkMdApi: line 16, column 1Class.MetadataService.MetadataPort.listMetadata: line 9218, column 1
Class.MetadataUtil.checkMetadataAPIConnection: line 30, column 1
Class.CustomMetadataLoaderController.checkMdApi: line 16, column 1
Is this a proper continuation of this issue or should I open a new one?
from custommetadataloader.
I was having trouble with creating Remote site settings too, so I manually created the same. By that way, I was able to successfully open page for Custom Metadata Migrator. But while clicking Custom Metadata Loader, I am getting below error, please suggest if anyone has faced the same have any solution, will be very helpful.
IO Exception: Exceeded max size limit of 6000000
Error is in expression '{!checkMdApi}' in component apex:page in page custommetadataloader: Class.MetadataService.MetadataPort.listMetadata: line 9218, column 1
Class.MetadataUtil.checkMetadataAPIConnection: line 30, column 1
Class.CustomMetadataLoaderController.checkMdApi: line 16, column 1
from custommetadataloader.
Related Issues (20)
- Error occured processing component CMDT.XXX.Email: invalid email address: XX (INVALID_EMAIL_ADDRESS)
- Error while deploying in production HOT 2
- [Bug] DeveloperName disregarded when Label also present in file.
- [Bug] Tool allows mulitple Separator Types in a single file
- [Bug] Tool does not parse BOM properly HOT 1
- [Bug] Returned vlaues go over visualforce heap size limit HOT 1
- Error deploying package
- How to delete this tool from sandbox ? HOT 1
- Parsing Error HOT 3
- IO Exception: Exceeded max size limit of 6000000 HOT 4
- INVALID_OPERATION: rollbackOnError option must be true on a production org
- The number of field values does not match the number of header fields on line2 HOT 5
- Web service callout failed: WebService returned a SOAP Fault: 'Tier 2' is not valid for the type HOT 1
- Error when loading a relationship field HOT 1
- Remote Site Settings Issue HOT 6
- Field XX in account is not available in this org due to insufficient privileges
- Web service callout failed: WebService returned a SOAP Fault: Cannot flip on commit allowed, disabled by:Commit Not Allowed By DBContext:Protect.Apex.Transaction.Contract HOT 1
- Getting Field Header error when they match, even with Sample csv HOT 3
- Web service callout failed: WebService returned a SOAP Fault: Only the following configurations are supported : 1) if the type is mentioned i.g. type="xsi:boolean" 2) With metadata CRUD API with fullName required faultcode=soapenv:Client faultactor=
- An error has occurred while saving dataAttempt to de-reference a null object---117
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custommetadataloader.