– The client expects a JSON array. The server sends a protobuf message. Parsing fails. The system logs a generic “response failed” but internally knows it’s error #2: deserialization failure.
Before attempting a fix, you must understand what each segment of the error indicates. – The client expects a JSON array
:
– Don’t trust the client’s summary. Capture the exact HTTP status, headers, and body. That 2 might be hiding a helpful server-side message like “userstats unavailable for archived jobs.” – The client expects a JSON array