Migrating from JWT to OAuth, can generate tokens, but UNAUTHORIZED | Community
Skip to main content
October 1, 2024
Question

Migrating from JWT to OAuth, can generate tokens, but UNAUTHORIZED

  • October 1, 2024
  • 1 reply
  • 907 views

We're migrating to the OAuth Server-to-Server credentials.  Completed step one of retrieving the client secret and can successfully generate access tokens.  However, when replacing the API authorization bearer token with the new OAUTH token, we receive an UNAUTHORIZED response.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

tmj
Adobe Employee
Adobe Employee
October 2, 2024

Could you add any information about the error you receive and the request id?

 

nicklitzAuthor
October 2, 2024

Request ID: 1fa7526b-be0e-4827-9fb9-b5838e86eb65

for "transientDocuments"

Response:

Content:
{"code":"INVALID_ACCESS_TOKEN","message":"Access token provided is invalid or has expired"}

Error Exception:

{"Request failed with status code Unauthorized"}

Error Code: Unauthorized

 

NOTE: the token was just created and has not expired.

 

tmj
Adobe Employee
Adobe Employee
October 4, 2024

I think you should create a support ticket with those details. Also include the API endpoint in your ticket.