Activity Forums Salesforce® Discussions URL Not hitting endpoint in SOAP Callout

  • Adarsh

    Member
    March 29, 2018 at 6:06 am

    Hi Ankit,

    The unauthorized endpoint may be returned from the API callout you are doing and not because of Remote site settings.

    Note: For Apex code that is executed asynchronously, such as @future methods, Batch Apex jobs, or scheduled Apex jobs, getSessionId returns null.

    Hope it helps 🙂

  • Archit

    Member
    March 29, 2018 at 12:44 pm

    Hello Ankit,

    I think you should enter the remote URL in remote settings under the setup menu in Salesforce org. Once the URL will be there you can be easily authorise the URL.

    Thanks!

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos