You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been getting a few 503 responses from the Resend API when calling resend.Emails.send() recently, with the response body being HTML. This library tries to parse that as JSON and raises a JSONDecodeError. Would be nice if that could be handled more gracefully.
The response body that causes this error looks like this:
I'm facing the same issue, and the error info doesn't really help:
Expecting value: line 1 column 1 (char 0)
It's quite critical for our business to be able to send order confirmations, and so far we've been comfortably relying on Resend for that - please help ASAP :))
I pass html as an f string to the html entry of the sendParams, like this:
Args are always of type str and sometimes I embed a base64 encoded QR code in an img element, however, the JSONDecodeError occurs with and without any base64 embeddings.
I've been getting a few 503 responses from the Resend API when calling
resend.Emails.send()
recently, with the response body being HTML. This library tries to parse that as JSON and raises aJSONDecodeError
. Would be nice if that could be handled more gracefully.The response body that causes this error looks like this:
The text was updated successfully, but these errors were encountered: