[Bug] MSAL is failing to parse an error response from the server #860
Labels
Bug
Something isn't working, needs an investigation and a fix
confidential-client
For issues related to confidential client apps
P2
Normal priority items, should be done after P1
public-client
For questions/issues related to public client apps
Supportability
For issues related to improving the customer support experience
Library version used
1.17.0
Java version
8
Scenario
Other - please specify
Is this a new or an existing app?
The app is in production, I haven't upgraded MSAL, but started seeing this issue
Issue description and reproduction steps
A JSON parser is used to extract error messages and other info from responses. However, it appears that some unexpected format is being sent for some errors, such as when there are too many requests:
We need to investigate why these responses aren't getting parsed, and ensure that error messages are correctly relayed from the server to the customer and MSAL provides provide meaningful messages.
Relevant code snippets
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response
The text was updated successfully, but these errors were encountered: