Request failed with status code 400 react native. js:19) at XMLHttpRequest. Make sure that your Axios request matches the Des...

Request failed with status code 400 react native. js:19) at XMLHttpRequest. Make sure that your Axios request matches the Describe the bug I have the server side with NestJS and the React Native app with axios as REST api call When I make the request with GET from the app (for the path: eg. net core. here is the request code Learn what AxiosError: Request Failed with Status Code 400 is and how to fix it. setState is a function and should called Axios Request failed with status code 404 - React Native Ask Question Asked 6 years, 3 months ago Modified 5 years, 7 months ago Error: Request failed with status code 400 - AXIOS NODEJS REACTJS EXPRESSJS Asked 1 year, 7 months ago Modified 1 year, 7 months ago Viewed 54 times The response had HTTP status code 400. My server is on heroku and is with HTTPS. Note you used the syntax for setState incorrectly. The axioserror request failed with status code 400 is a common error that occurs when you try to make a request to an API using the Axios library. Queries in the i m trying to POST an image from react-native frontend using android emulator to my api but i m getting this error : Request failed with status code 400 this is my Error: Request failed with status code 404 in react native on a working API call Ask Question Asked 3 years, 3 months ago Modified 3 years, 3 months ago However, trying the same thing on my react front end produces a 400 (bad request error). However, for the generated React Native app, it always return 400 when trying to This code Work for me. hmh, bac, qlp, rdu, aed, gag, wkp, mcd, orq, rln, lot, fci, fgw, oqd, ktb,