Skip to content
Discussion options

You must be logged in to vote

I figured it out. It was just a very misleading error message. Due to a race condition/caching error, my token was coming back as null. So my request headers looked like this:

{"Authorization": "Bearer null"}

So the "1 part" alluded to by the error message was just the string "null". The fix was to update my code to make sure that the auth token gets set in the headers before the request is made.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ajenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
None yet
1 participant