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

  • Error in API callout...

    Posted by Akash Karhale 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 Karhale replied 4 years, 11 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 Karhale

    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