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?
- Messages API
- JSON Web Token(JWT)
- Basic Authentication
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.