Always get 401 Unauthorized when use the access token to access the API #118908
Answered
by
bugsmachine
bugsmachine
asked this question in
API and Webhooks
-
Beta Was this translation helpful? Give feedback.
Answered by
bugsmachine
Apr 16, 2024
Replies: 2 comments 4 replies
-
I figured it out, the HTTP header for authentication is not "Bearer". It should be "Token " and it worked after I made this modification. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bugsmachine
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured it out, the HTTP header for authentication is not "Bearer". It should be "Token " and it worked after I made this modification.