itinance / itinance/react-native-fs
Unable to handle status code 422 Unprocessable Entity
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
While uploading the image to the server I am getting below error in the catch block.
```
Error: ENOENT: no such file or directory, open 'MY_SERVER_URL'
at createErrorFromErrorData (blob:http://localhos…4-7692e016a41a:3988)
at blob:http://localhos…4-7692e016a41a:3940
at MessageQueue.__invokeCallback (blob:http://localhos…4-7692e016a41a:4486)
at blob:http://localhos…4-7692e016a41a:4217
at MessageQueue.__guard (blob:http://localhos…4-7692e016a41a:4390)
at MessageQueue.invokeCallbackAndReturnFlushedQueue (blob:http://localhos…4-7692e016a41a:4216)
at debuggerWorker.js:72
```
Server Response:
{"detail":"File size should be less than 3 MB", status_code: 422}

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.