Log in or register to post comments

Can't delete targets using vws api

January 17, 2013 - 7:52am #1

Hi.

I can't delete targets using vws api.

Here's an request example and the response headers and body:

 

send: 'DELETE /targets/336600024b3445e59b0677f9565284ef HTTP/1.1\r\nHost: vws.vuforia.com\r\nAccept-Encoding: identity\r\nDate: Thu, 17 Jan 2013 15:15:20 GMT\r\nAuthorization: VWS 44b83492dafae3f6adbabb2cc40900b28de68e26:DT6Ds+zB2EuLCS6Yss8pxMlD5BY=\r\n\r\n'
reply: 'HTTP/1.1 400 Bad Request\r\n'
header: Server: Apache-Coyote/1.1
header: Content-Type: application/json;charset=UTF-8
header: Transfer-Encoding: chunked
header: Date: Thu, 17 Jan 2013 15:15:20 GMT
header: Connection: close
{"result_code":"Fail","transaction_id":"e7f4d86af1c643518fd96fc78f47ed5b"}

Hi, have you checked the

January 17, 2013 - 8:01am #2

Hi, have you checked the reference implementation in the VWS Java samples that you can download here:

https://developer.vuforia.com/resources/dev-guide/managing-targets-cloud-database-using-developer-api

 

Also, you cannot delete your targets if they are in "active" status; so you first need to deactivate them (using UPDATE, and then waiting for them to become inactive).

I hope this helps. 

Log in or register to post comments