11-19-2019 23:31
11-19-2019 23:31
I am accessing the Web API through postman using GET as they listen in reference
the headers are sending
but when I access the same from my code it shows me 401 error with
{"errors":[{"errorType":"system","fieldName":"n/a","message":"Authorization Error: Invalid authorization token type"}],"success":false} kind of error
how can I resolve this
Thanks
11-21-2019 19:21
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
11-21-2019 19:21
Hi @sandyinsan,
Welcome to the forums!
So that I can determine why you are seeing a 401, can you please provide me with your full GET request? I need to be able to see the endpoint you're calling as well as the headers and content. Feel free to redact any sensitive information such as your client id/secret.
I hope to hear from you soon!
Best Answer