laravel-notification-channels/africastalking

The supplied authentication is invalid

kamasuPaul opened this issue · 1 comments

Hello, i am facing an issue of 'invalid authentication' with this package, i have checked my africastalking username and password and they are valid, since messages go through when i send the messages with sdk direct. Here is the exception i get
{"exception":"[object] (NotificationChannels\\AfricasTalking\\Exceptions\\CouldNotSendNotification(code: 0): AfricasTalking service responded with an error: Client error: POST https://api.africastalking.com/version1/messaging resulted in a401 Unauthorized response: The supplied authentication is invalid

What could i be doing wrong ?

i discovered the cause of this, it was because i had left the from in the services.africastalking config yet i had no valid sender id