Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountering Error "Failed to get claims for token" #138

Open
kbjwes77 opened this issue Mar 21, 2022 · 0 comments
Open

Encountering Error "Failed to get claims for token" #138

kbjwes77 opened this issue Mar 21, 2022 · 0 comments

Comments

@kbjwes77
Copy link

Using NodeJS v16.14.0 with Express and node-fetch to interface with the VBC API. I've successfully subscribed to a few of the APIs and successfully authenticated using the Authorization Code Grant walk-through. I've tested this using both the API Console and my NodeJS application, the token I've exchanged using the authorization code callback url and the token on the API Console page match. No matter what I do, I get a similar error response across all API endpoints, similar to the following:

{"code": "14-401-0000", "message": "Failed to get claims for token", "severity": "ERROR"}

  • Here's a screenshot of the error message from the API Console after I successfully authenticated and used the Try It Out! button for the /self/account/ endpoint which is under the 'VonageIntegrationSuite - v1' API group:

image

  • Here's a screenshot from my NodeJS application console attempting to reach the same API endpoint:

image

I'm certain I've subscribed to this API group, and the API subscription state is set to Unblocked. My account is active and the token is not expired.

image

Anything I'm doing wrong? @tbass134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant