By Massanishi
on Mon, 08/19/2013 - 17:37
Hi all,
I am trying to upload target image via PostNewTarget.php sample codes.
However, the uploads fail 80% of the time, works occasionally.
I get this error:
/targetsUnexpected HTTP status: 400 Bad Request
The request includes one line email address metadata, and 0.5 compressed iphone camera image. The image is uploaded through a 3rd-party server.
Do you think it has anything to do with the way I set up my HTTP request or purely a network connection problem?
Thanks in advance.
400 Bad Request sometimes
Are you seeing intermittent failures even when using the same metadata content? - i.e. POSTs with the same email and image fail 80% of the time.
400 Bad Request sometimes
Hi David,
The metadata has been same for all posts whether it is success or failure.
Although I have not tested with the exact same image, it is the same kind of photos taken from iphone4 compressed in the exact same way.
This is the full returned code.
400 Bad Request sometimes
Hi Massanishi,
400 Bad Request sometimes
Hi all,
I finally solved the problem.
I am not sure if its going to help anyone, since it had nothing to do with Vuforia.
400 Bad Request sometimes
Glad to hear you managed to solve it (and happy it was caused by Vuforia :-)
Thanks for sharing the solution