Skip to content

HTTP 406 Not Acceptable Errors #149

@suhaasprasad

Description

@suhaasprasad

I'm seeing a lot of 406 errors being returned recently when trying to send mail. It's strange because I don't see where the "Accepts" header is being added to the requests made by this library, which from my understanding is what would be the cause of an HTTP 406 error. What's also odd is that it happens non-deterministically, where sometimes the message fails with this 406 error and other times the same message will succeed without issue:

SendGridClientError: (406, '<html>\r\n<head><title>406 Not Acceptable</title></head>\r\n<body bgcolor="white">\r\n<center><h1>406 Not Acceptable</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions