berkayk / laravel-onesignal

OneSignal Push Notifications for Laravel
506 stars 176 forks source link

sendNotificationUsingTags #132

Closed chokies closed 4 years ago

chokies commented 4 years ago

when trying to send using tags im getting error about basic auth

GuzzleHttp\Exception\ClientException: Client error:POST https://onesignal.com/api/v1/notificationsresulted in a400 Bad Requestresponse: {"errors":["Please include a case-sensitive header of Authorization: Basic \u003cYOUR-REST-API-KEY-HERE\u003e with a val (truncated...) in file /Users/paoloreyes/Sites/travel/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113

chokies commented 4 years ago

figured it out. Just a mistype issue with the config