Coder Social home page Coder Social logo

Comments (7)

benderguy avatar benderguy commented on July 21, 2024 3

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.

alachmann avatar alachmann commented on July 21, 2024 1

from custommetadataloader.

sricharananand avatar sricharananand commented on July 21, 2024

Thanks - will take a look and fix.

from custommetadataloader.

abhidotnet avatar abhidotnet commented on July 21, 2024

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.

britishboyindc avatar britishboyindc commented on July 21, 2024

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.

catalandres avatar catalandres commented on July 21, 2024

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 1

Class.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.

aishonline4u avatar aishonline4u commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.