"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Web Service down?

Hej,

I am trying to add some target through the Vuforia Web Service since Sunday but no matter I always get result code "Fail", even on getting all targets.

Adding target via the web page works fine.

Example result for /targets 

{u'transaction_id': u'24532801c1334021a80388341f0ff3c7', u'result_code': u'Fail'}

 

Thanks in advance, Oli

AlessandroB

Mon, 06/17/2013 - 12:42

Hi, are you using our Java or PHP sample implementation of the VWS API ? or a custom one ?

if you are using your own, maybe it owuld be a good idea to mkae a quick test with our samples (just to exclude that there is a problem with your custom implementation).

We use our own Python scripts. Here is a snippet that can reproduce the error. Also according to the documentation result code "Fail" means Internal Server Error.

Ok, I understand it was working before;

but this is a good reason to check wiht our samples; if the samples also show the same fail result, then we would be sure that the problem is to be searched in your code (or otherwise that would confirm the problem is wsomewhere else...)

infomaniac50

Sat, 01/11/2014 - 04:11

I am getting same error when running VWS(Vuforia Web Service).

It always gives an error.

Output of PostNewTarget is as follow :

Have you been able to execute other queries? - is it only your POST request that is failing?

If you can, please post a code snipped showing how you are formatting and executing the POST request.

bjoernMXM

Thu, 06/20/2013 - 09:37

Got the same problem, but i dont have the "-0000"-issue.

 

Any other idea why the web service dont work anymore for no reason?

 

Last week my vws code worked well but since yesterday i cant even get a target from the server.

 

Well, one possibility is that the code used to work previously because the system was perhaps more "tolerant" on certain request format details .

bjoernMXM

Fri, 06/21/2013 - 11:41

After 2 hours installing tousand of libraries for java, android and eclipse, i got the java example to work, and everything workes fine. I got a correct answer from the server.

So the question is: "Why does my code dont work anymore?"

 

I would suggest to make sure that the request that you produce in C# is exactly the same as the one generated with the Java sample code;

in the end, every request is just a string and you can easily compare it with the same request produced by the Java code.

bjoernMXM

Wed, 06/26/2013 - 11:39

I fixed that problem by myself.

For some reasons, if i add the custom headers, i dont needed to set the Content-Type manually to an empty string. 

 

-Björn

Check that the image you are using is valid by submitting it to your Cloud Database using the Target Manager - otherwise your code looks fine. 

I have checked 2-3 images by Target Manager, That allows to post target nicely.

But it always fail to post image by VWS web service.

Please debug it and reply quickly.

Facing the same issue every time I try to post a new target using Java. Here is the code: http://pastebin.com/HbXmqH4Tr
Tried posting via Target Manager, it works but not with this code.
Can anyone help who has faced the same issue? 
Thanks in Advance!

Hello,

Your link does not work - the post was removed.

That's OK because we have sample Java code available for download for the VWS APIs:

https://developer.vuforia.com/downloads/samples

Thanks

brainbreaker

Wed, 08/31/2016 - 03:57

@medabit Sorry, Here's the new link to the code: http://pastebin.com/wDSgrYbq

And yes, I am using the PostNewTarget.java from official samples only.