bobnino
November 30, 2017, 2:32am
1
im always getting one of these errors even if the image is uploaded
These errors are from the file transfer upload console log .
{“code”:3,“source”:“file:///data/user/0/io.ionic.starter/files/amarimg.jpg”,“target”:“https://***s.me/petupload.php",“http_status”:null,“body”:null,“exception”:"state:
2”}
{“code”:3,“source”:“file:///data/user/0/io.ionic.starter/files/amarimg.jpg”,“target”:“https://***s.me/petupload.php",“http_status”:null,“body”:null,“exception”:"expected
1596 bytes but received 16384”}
any thoughts ??
Sujan12
November 30, 2017, 3:24pm
2
Who is giving you these errors? Your server?
1 Like
bobnino
November 30, 2017, 5:48pm
3
Ionic file transfer, when I console log the error from the transfer, that’s what I get
Sujan12
November 30, 2017, 5:53pm
4
What do these codes and states mean?
bobnino
November 30, 2017, 6:41pm
5
Code 3 means connection error, not sure what state means I couldn’t find anything online, I think the exception is forwarded from the android environment if I’m not mistaken
bobnino
November 30, 2017, 8:26pm
6
1 Like