Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

ContentAPI: Content SAVE is returning 401 error

bharathp
Contributor II

Hello,

I am trying to create/ update a record in Archer Applications table from Postman Application. I am able to obtain the Session ID and get the records from Applications table using the "Obtain Session ID" and "Get Level Metadata". When I tried the create/ update the same using Content Save, it is giving me 401 error.

Please find the details:

Method: POST

Endpoint: <archerURL>/contentapi/Applications

Headers: 

Content-Type: application/json

Cookie: ArcherSessionCookie={{sessionToken}}

Accept: application/json,text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

 

I've tried "__ArcherSessionCookie__", "Archer session-id" Let me know if I have to change anything.

12 REPLIES 12

This is how the authorization header should be formatted.

DavidPetty_0-1698951648759.png

 

 Advisory Consultant

Though I have used double quote, Still getting the same error. 

Please contact support to see if they can help you determine why you're getting an HTTP 400.