Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding: Unexpected response code 422 #88

Closed
bitsnaps opened this issue Nov 3, 2020 · 1 comment
Closed

Regarding: Unexpected response code 422 #88

bitsnaps opened this issue Nov 3, 2020 · 1 comment

Comments

@bitsnaps
Copy link

bitsnaps commented Nov 3, 2020

Hi,
I've seen many people complaining about this issue including my self, the GET request works well, however the JsonObjectRequest object seems to have some troubles when parsing json response.

https://stackoverflow.com/questions/54467752/basicnetwork-performrequest-unexpected-response-code-422-for-volley
https://stackoverflow.com/questions/43544324/basicnetwork-performrequest-unexpected-response-code-422
https://stackoverflow.com/questions/50410551/volley-post-with-json-getting-422-status-code

Is this library still maintained ? what would be a better alternative in that case? okhttp,retrofit..?

@bitsnaps
Copy link
Author

bitsnaps commented Nov 4, 2020

My bad! it was the old Volley class, I had to use the VolleySingleton wrapper instead which works with caching capabilities.

@bitsnaps bitsnaps closed this as completed Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant