Unexpected 422 Unprocessable Entity Response with Partial Response Enabled #7809
Replies: 1 comment
-
Hey @KEIONG, I'm here to help you with any bugs, questions, or contributions you have on Thanos Query! Let's figure this out together. The 422 Unprocessable Entity status code you're encountering is indeed unexpected when partial response is enabled. Typically, with partial response enabled, Thanos Query should return a 200 status code along with a warning if some endpoints fail. Here are a few things you might consider checking:
Unfortunately, specific conditions that trigger a 422 status code in Thanos Query are not documented in the available information, so further investigation into logs and configurations might be necessary. |
Beta Was this translation helpful? Give feedback.
-
Hi Thanos Community members,
I've encountered an issue with Thanos Query when partial response is enabled.
Problem:
Despite having partial response enabled, I am receiving a 422 Unprocessable Entity response. According to the documentation and my understanding, partial response should return a 200 status code, even if some data is missing.
Deployment Details:
This behavior is quite unexpected and does not align with the anticipated partial response behavior, which should return a 200 status code.
Could anyone provide insights or suggestions on why this might be happening and how to resolve it?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions