Log in or register to post comments

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 4:59am #21

Since maintenance of yesterday (27 Aug at 04:55PM), all our requests to create trackers fails.

 {"result_code"=>"Fail", "transaction_id"=>"306827e87c9d4c7aa1e2749c36803745"}

{"result_code"=>"Fail", "transaction_id"=>"a14ed8cc1f9248f2acd85b0f161d1fc4"}

 {"result_code"=>"Fail", "transaction_id"=>"59dae578441e42d4838fb74c3d252200"}

 

Is there a bug, or api specs have changed ?

 

Regards,

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 11:25am #20

It appears that the order of the returned JSON name:value pairs has changed in the query to retrieve all targets in a Cloud DB. Today it shows the following order:

/targets
{
"result_code":"Success",
"transaction_id":"id",
"results":["target1","target2","target3"]
}

A saved result from Tuesday has the target results appearing first:

/targets
{
"results":["target1","target2","target3"],
"result_code":"Success",
"transaction_id":"id"
}

Would this re-ordering of the JSON name:value pairs affect your app?

 

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 12:56pm #19

Hi,

Thanks for your response, unfortunatly, it's not that, since I pasted the http answer we get back:

 {"result_code"=>"Fail", "transaction_id"=>"306827e87c9d4c7aa1e2749c36803745"}

and we do not have more details.

Do you have a possibility to search for this transaction id, in order to provide us with a more explicit error message ?

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 1:11pm #18

I successfully posted a couple of targets to a different Cloud DB using the PostNewTarget.java sample app. Could you confirm if you are experiencing this failing behavior with the PostNewTarget sample app as well? I will see if we can track down more info about the error associated with the transaction id you provided.

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 2:28pm #17

Hi, I have the same problem: Since maintenance of yesterday (27 Aug at 04:55PM), all our requests to create trackers fails.

 {"result_code":"Fail","transaction_id":"04dbc34bbd64428a9443cf33fa27b815"}

 

Is there a change on the API?

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 3:06pm #16

lirask8 wrote:

Hi, I have the same problem: Since maintenance of yesterday (27 Aug at 04:55PM), all our requests to create trackers fails.

 {"result_code":"Fail","transaction_id":"04dbc34bbd64428a9443cf33fa27b815"}

 

Is there a change on the API?

I see that you have a Cloud DB that you created today, but it has 0 targets. Is there another Cloud DB you are referring to?

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 3:20pm #15

Yes, I'm testing too with other Cloud DB (Db name: Viur, user: salvador.m).

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 3:50pm #14

lirask8 wrote:

Yes, I'm testing too with other Cloud DB (Db name: Viur, user: salvador.m).

I found your Cloud DB named Viur. Would you like me to attempt to post a new target test image to Viur DB using the VWS sample app to see if I can reproduce the error you are receiving?

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 3:58pm #13

dm3d wrote:

lirask8 wrote:

Yes, I'm testing too with other Cloud DB (Db name: Viur, user: salvador.m).

I found your Cloud DB named Viur. Would you like me to attempt to post a new target test image to Viur DB using the VWS sample app to see if I can reproduce the error you are receiving?

 

I made an attempt to climb a target:

{"result_code":"Fail","transaction_id":"537dbd2310e544669eb2908ebd4d85c3"}

Http error 400

Bad Request

 

 

All VWS requests on create tracker are now "Fail"

August 28, 2014 - 5:30pm #12

I've been making a number of VWS requests today using the VWS Java sample apps. All of my VWS requests have been successful in posting targets to multiple Cloud DBs. So far the reports of requests failing have just mentioned problems with posting a new target. Is this also happening with requests to retrieve target info?
 

All VWS requests on create tracker are now "Fail"

August 29, 2014 - 1:42am #11

The problem occurs for create or update, on both our databases.

We use a ruby client.

Can't you get more informations about a transaction when you have the transaction_id ?

It's very frustrating to have "Fail" without any further information, I am totally blind in my tests.

All VWS requests on create tracker are now "Fail"

August 29, 2014 - 2:17am #10

I found the problem

this fails:

{"name":"...","width":"32.0","image":"...","application_metadata":"..."}

 
this works:
{"name":"...","width":32.0,"image":"...","application_metadata":"..."}
 
 
By the way, the documentation here:
 
lacks a " at the end of "width"

All VWS requests on create tracker are now "Fail"

August 29, 2014 - 9:22am #9

Augment wrote:

I found the problem

this fails:

{"name":"...","width":"32.0","image":"...","application_metadata":"..."}

 
this works:
{"name":"...","width":32.0,"image":"...","application_metadata":"..."}
 
 
By the way, the documentation here:
 
lacks a " at the end of "width"

 

 

Thanks Augment! It works! 

All VWS requests on create tracker are now "Fail"

August 29, 2014 - 1:23pm #8

Developers have reported experiencing issues using the VWS API to add or update Cloud targets.  Please ensure that the values in the API requests are formatted properly.  Notably, “name” should be formatted as a string value, and “width” should be formatted as a float value.

API format validations are now more strictly enforced to avoid some downstream issues.

https://developer.vuforia.com/resources/dev-guide/adding-target-cloud-database-api
Please verify your API value types and let us know if you experience any further issues.

All VWS requests on create tracker are now "Fail"

August 30, 2016 - 10:35am #7

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!

All VWS requests on create tracker are now "Fail"

August 30, 2016 - 11:01am #6

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


All VWS requests on create tracker are now "Fail"

August 30, 2016 - 8:56pm #5

@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.

All VWS requests on create tracker are now "Fail"

August 31, 2016 - 1:43pm #4

@brainbreaker - Consolidating to this thread: https://developer.vuforia.com/forum/cloud-recognition/fail-java-sample-codes-postnewtarget

All VWS requests on create tracker are now "Fail"

April 15, 2017 - 12:28am #3

Any help please. I am facing the same issue with the sample application. Struggling since a week. Posting new targets not working.

All VWS requests on create tracker are now "Fail"

May 16, 2017 - 3:13pm #2

Got the Fix and this is amazing:

 

Just replace the line in the PostNewTarget.Java code :

 

Replace this: requestBody.put("image", Base64.encodeBase64(image));

with this: requestBody.put("image", new String(Base64.encodeBase64(image), "UTF-8"));

 

And it will start working. Finally, I got it :)

 

 

 

All VWS requests on create tracker are now "Fail"

September 25, 2018 - 3:03am #1

i have been trying to access the VWS API from c# project. I get the same error for uploading a target and retrieving a target.

{

    "result_code": "Fail",

    "transaction_id": "6a6e696413734c2296393a8caed25092"

}

if someone could help?

the below shown is my json body

{

"name":"arundhathi",

"width":64.0,

"image":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMSEhUTExIWFRUVFRY...",

"application_metadata":"hai there"

}

Log in or register to post comments