Random 404 Errors
netwire88 opened this issue · comments
netwire88 commented
Hi,
I've been getting random 404 errors on Mailjet::Contact_managecontactslists.create
. It's difficult to replicate since if I run it again, it might or might not work. Are others seeing this?
JSON::ParserError: 783: unexpected token at '<html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>nginx</center> </body> </html> '
Mikhail Grishko (Mykhailo Hryshko) commented
Sorry, but this is not the optimal way to put the retry business logic in the library. The application is responsible for this retry logic. Gem should only provide a connection for a third-party service or API.