cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid OAuth protected resource access request. OAuth authentication failed

Former Member
0 Kudos

I am trying to call [GET] /Self (Retrieves the member information for the current user. )


And receive a 401 status: 'Unauthorized' with the following information in response data:

'Invalid OAuth protected resource access request. OAuth authentication failed.'


I successfully verified my access_token with: [GET] /oauth/test_request (Checks if the access token is valid and working correctly without making unauthorized calls on behalf of the user.)


My question:

What is wrong when my token is valid  and [GET] Self fails with 'Invalid OAuth protected resource access request. OAuth authentication failed.'?

Both requests are done by the same initialized, with ContentType.ANY


Looking forward to any suggestions


Geb de Valk

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Figgered it out: do not send the request url with append format=json

so path = /api/v1/OData/Groups

and NOT path = /api/v1/OData/Groups?format=json

Answers (0)