I have valided my sender address and have a python code very similar to your. The code runs successfully (code 202), but then it goes to sendgrid as "processed" and stays like that for 72 hours, then its being showed as "blocked" and the mail is never delivered. Has this issue occurred to you?
Hmm, I haven’t seen that one before. Googling around seems like this is a common issue. See this link for a potential solution: stackoverflow.com/questions/42214048/sendgrid-returns-202-but-doesnt-send-email
@@kauffmananalytics thank you for finding this, i don't know how i missed it 😆 i indeed opened a ticket to sendgrid support, only to find out that the account is currently on suspended status they said they will try and fix it, hopefully it will work
@@kauffmananalytics great video! exactly what I was looking for. I'm also getting a circular import error `ImportError: cannot import name 'SendGridAPIClient' from partially initialized module 'sendgrid' (most likely due to a circular import)`
I followed your steps but with the test code from SendGrid, but I am getting this error: AttributeError: 'ForbiddenError' object has no attribute 'message' any tips?
Sure thing, you can clone the GitHub repo here: github.com/Rkauff/sendgrid-simple.git Alternatively, you can use the web URL: github.com/Rkauff/sendgrid-simple/blob/main/sendgrid.py Let me know if you need anything else!
Can I apply this tutorial in a similar sendgrid website ?
Yep! This code has enormous flexibility and wide applicability.
I have valided my sender address and have a python code very similar to your.
The code runs successfully (code 202), but then it goes to sendgrid as "processed" and stays like that for 72 hours, then its being showed as "blocked" and the mail is never delivered.
Has this issue occurred to you?
Hmm, I haven’t seen that one before. Googling around seems like this is a common issue. See this link for a potential solution:
stackoverflow.com/questions/42214048/sendgrid-returns-202-but-doesnt-send-email
@@kauffmananalytics thank you for finding this, i don't know how i missed it 😆
i indeed opened a ticket to sendgrid support, only to find out that the account is currently on suspended status
they said they will try and fix it, hopefully it will work
I got an import error. It says that there is a circular import. Can you suggest a fix for it
Hi Saturapa, I’d be happy to help! If you try “import sendgrid”, does that throw an error?
@@kauffmananalytics great video! exactly what I was looking for. I'm also getting a circular import error `ImportError: cannot import name 'SendGridAPIClient' from partially initialized module 'sendgrid' (most likely due to a circular import)`
@@alysontheanalystdid u fix it?
error 401 how to fix it?
401 is an “unauthorized” code, are you sure you’re using valid credentials?
I followed your steps but with the test code from SendGrid, but I am getting this error: AttributeError: 'ForbiddenError' object has no attribute 'message' any tips?
Retarded isn't it? The amount of people who are quite quick to post videos of how to do something half arsed is amazing.
source code plz
Sure thing, you can clone the GitHub repo here: github.com/Rkauff/sendgrid-simple.git
Alternatively, you can use the web URL: github.com/Rkauff/sendgrid-simple/blob/main/sendgrid.py
Let me know if you need anything else!
Thank you
You’re very welcome!
python_http_client.exceptions.ForbiddenError: HTTP Error 403: Forbidden
Please Help!?
Hmm, a 403 error indicates your Sendgrid API Key is not valid. I would check that and start there first. Let me know if that doesn’t help.
@@kauffmananalytics Trust that the key is correct and that you watched the video and applied the steps one by one!!