Skip to content

Always get 401 Unauthorized when use the access token to access the API #118908

Discussion options

You must be logged in to vote

I figured it out, the HTTP header for authentication is not "Bearer". It should be "Token " and it worked after I made this modification.

Replies: 2 comments 4 replies

This comment was marked as spam.

@bugsmachine
Comment options

@yasindu10

This comment was marked as spam.

@Waklloud

This comment was marked as spam.

@Waklloud

This comment was marked as spam.

Comment options

You must be logged in to vote
0 replies
Answer selected by bugsmachine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API and Webhooks Discussions and conversations related to APIs or Webhooks Question
3 participants