Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Every second API Proxy call fails with a 401 Unauthorized

I have an API proxy that works half the time. After each call that returns with a successful 200, the subsequent exact same call fails with a 401 Unauthorized.

When I run a Trace, only the 200's show up in Trace.

I use the same API Key for all calls, same URL and headers.

It seems like it is bouncing between 2 load balanced servers and one server is working and the other is denying my request.

Solved Solved
0 6 1,288
1 ACCEPTED SOLUTION

This did turn out to be an issue with the Trial environment during a maintenance on the messaging system. It did eventually resolve itself. It appears only one of the nodes got updated with my change to fix a 401 issue with the back end. The other node did not get updated for a couple of days. Once updated, with the API proxy change, the requests went back to operating normally.

View solution in original post

6 REPLIES 6
Top Solution Authors