I am trying to integrate SendGrid with Heroku, and receive the following error when I try to log in to SendGrid using the Heroku addon credentials:
You are not authorized to access SendGrid, please contact Support.
I have reached out to SendGrid Support to no avail...
I already had my app successfully pushed and hosted on heroku. I have my credit card details in heroku, so not an issue there...
Here were my steps:
(I followed the docs at https://devcenter.heroku.com/articles/sendgrid#provisioning-the-add-on)
$ heroku addons:create sendgrid:starter >>(success)
$ heroku config:get SENDGRID_USERNAME >>(app1905xxxxx@heroku.com)
$ heroku config:get SENDGRID_PASSWORD >>(abcdedfghij)
Then I attempted to login to sendgrid with these credentials and got the error message:
You are not authorized to access SendGrid, please contact Support.
I can see in my heroku dashboard that the Addon is present. [Heroku dashboard img][2] However, when I click the Addon in the heroku dashboard it shows the following: [SendGrid Addon img][3] JSON:
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
HEADERS:
Response Headers:
Cache-Control no-cache, must-revalidate, no-cache, must-revalidate
Connection keep-alive
Content-Encoding gzip
Content-Type application/json
Date Wed, 18 Nov 2020 23:10:16 GMT
Expires 0
Referrer-Policy origin-when-cross-origin
Server nginx
Transfer-Encoding chunked
Request headers
Vary Accept-Encoding
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding gzip, deflate, br
Accept-Language en-US,en;q=0.5
Connection keep-alive
DNT 1
Host sendgrid.com
Sec-GPC 1
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0
Any help is greatly appreciated, thank you! [1]: https://devcenter.heroku.com/articles/sendgrid#provisioning-the-add-on [2]: https://i.stack.imgur.com/SDPT0.png [3]: https://i.stack.imgur.com/aGfMJ.png