Saltar al contenido principal
Servicio de soporte de OCLC

I am getting a "not authenticated" error when using CCG authentication for an API key.

  • I can successfully get an access token.
  • When I try to use the token to make an actual API query, this is the response I get (from print($xml);):
    • {"response":{"error":{"message":"There was an error processing your request. Please check the error detail.","detail":[{"failureCode":70013,"debugMessage":"Not authenticated to perform the action."}],"instance":12345}}}
Applies to

Check the endpoint you are using.  To use the /my-requests endpoint the client application needs to strongly authenticate as a user using the Authorization Code flow. If a client authenticates using the Client Credentials Grant (CCG) flow, you can only use the /requests endpoint.

Additional Information

Authorization Code flow

Client Credentials Grant flow


Page ID