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

Trouble fetching data using the token #785

Closed
bijay12345 opened this issue Feb 24, 2024 · 1 comment
Closed

Trouble fetching data using the token #785

bijay12345 opened this issue Feb 24, 2024 · 1 comment

Comments

@bijay12345
Copy link

{'detail': ErrorDetail(string='Given token not valid for any token type', code='token_not_valid'), 'code':
ErrorDetail(string='token_not_valid', code='token_not_valid'), 'messages': [{'token_class':
ErrorDetail(string='AccessToken', code='token_not_valid'), 'token_type': ErrorDetail(string='access',
code='token_not_valid'), 'message': ErrorDetail(string='Token has wrong type', code='token_not_valid')}]}

@bijay12345
Copy link
Author

{'detail': ErrorDetail(string='Given token not valid for any token type', code='token_not_valid'), 'code': ErrorDetail(string='token_not_valid', code='token_not_valid'), 'messages': [{'token_class': ErrorDetail(string='AccessToken', code='token_not_valid'), 'token_type': ErrorDetail(string='access', code='token_not_valid'), 'message': ErrorDetail(string='Token has wrong type', code='token_not_valid')}]}

"SOLVED, WAS USING REFRESH TOKEN INSTEAD OF ACCESS"

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