function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abhishek Soni 13Abhishek Soni 13 

Data Integration Specialist**Callout response is - Access denied

I am stuck with challange#3 and getting System.HttpResponse[Status=Unauthorized, StatusCode=401]
I tried both Named Credentials and Remote site setting but getting same error
System.HttpRequest[Endpoint=https://sb-integration-pms.herokuapp.com/projects, Method=POST]
System.HttpRequest[Endpoint=callout:ProjectService, Method=POST]

I re-registerd the org and tried with new token as well but no success.

I am surprised that I have completed challege#3 even i am getting error Status=Unauthorized, StatusCode=401 while trying to connect PMS.
Any thoughts what mistake am i making?
NagendraNagendra (Salesforce Developers) 
Hi Abhishek,

Sorry for this issue you are encountering.

May I suggest you please check with below link from the success community which might help you further. Hope this helps.

Thanks,
Nagendra