The CreatorCon Call for Content is officially open! Get started here.

Not receiving a token using sn_auth.GlideOAuthClient() - Error code X400

rob_kling
Tera Contributor

"code": "X400", "title": "Invalid Auth headers", "detail": "Authentication and Authorization headers are required", "links": "[{"type":"help","href":"https://developer.definity.com/dir/ref","description":"Link to the developer portal documentation"}]" }

 

 

Using the API sn_auth.GlideOAuthClient(), and I have also attempted to retrieve the token using a REST call. 

 

Using Postman I can retrieve the token, however in Postman the API-Key is set to a value and I don't see anywhere in Servicenow where I would populate the API-Key before retrieving the token     

0 REPLIES 0