Why am I getting 401 Unauthorized error when sending messages with Messages API version 1?
Question
Why am I getting 401 Unauthorized error with the error message: "You did not provide correct credentials" when sending messages with Messages API version 1?
Applies To
- Messages API
- JSON Web Token(JWT)
- Basic Authentication
Answer
The version 1 (v1) authentication is different from version 0 (v0.1). In version 1, if your number is linked with your application then you need to use JSON Web Token (JWT) authentication otherwise you will get 401 unauthorized errors. If you want to use basic authentication in version 1 then the number should not be linked to the application.
Comments
0 comments
Article is closed for comments.