Activity Forums Salesforce® Discussions Error in API callout...

  • Error in API callout...

    Posted by Akash on December 25, 2020 at 3:17 am

    hi experts,
    why im getting this type of error ??
    [{"message":"INVALID_HEADER_TYPE","errorCode":"INVALID_AUTH_HEADER"}]

    during api call

    i m trying to get record from other salesforce org for that i created api (one salesforce org to another salesforce communication)..
    plz help me to get out of it..😫😫

    Akash replied 3 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Anjali

    Member
    December 29, 2020 at 11:06 am

    Just make sure you setup your Named Credential using OAuth Authentication to start with rather than password authentication.

  • Akash

    Member
    January 1, 2021 at 9:52 am

    thanks anjali for your valuable time....

    i got error,it was in request body..

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos