Hello all, I've been trying to diagnose some issues with our application that accesses the Podio API and I was getting some interesting errors that I couldn't catch. I forked the Podio.NET library and inserted my own logger statements into the lowest request calls and dug into the uncaught JSON parsing exception was bringing this application to it's knees. The only hint was that it was having trouble parsing the first character "<", so I figured it was getting some weird HTML response. Sure enough it was, this happens about every other week on a completely random API request. At first I was concerned this was a rate limit of some sort but I debugged everything extremely carefully, watching the number of requests as tracked by the library itself and this happens whether we are close to our limit or not.
<head><title>502 Bad Gateway</title></head>
I passed this on to support but was told to post here, so I'm hoping someone may be able to clarify what is going on. We do not have any Nginx boxes between us and the API endpoint so this is a message received from the endpoint itself. Is anyone else experiencing this behavior?
Please sign in to leave a comment.