Log in or register to post comments

Vuforia VWS API add target issue

June 8, 2020 - 2:35am #2

Vuforia SDK Version: latest -

Description with steps to reproduce: Currently I am trying to add new target via VWS API and experiencing issues.
I am able to get all targets with response
{
transaction_id: '760bf596aa324d2fad35871c50b2bb50',
result_code: 'Success',
results: [
'96580ec11db34ad7acba5146ee438ae6',
'0d64014d9256468686b1b1b3f5123c97',
'94660965262b413bb855256fc7caaf6c',
'a44f448ed89a460d9d95a7244e99aa0c',
'fe022926563c4234911c4b887803c1d6',
'2a4a0d28d8bb4e59b96fd124ff34a1b5',
'15f37ff63a3b4f43afe802d4a82c9e11',
'fdec163df64e47cda88e2820e092cb43',
'd349763621614230957c01722224484d'
]
}

I assume the Authentication header works as expected. But when I try to add a new target I get response:

status: 400
{
result_code: 'Fail',
transaction_id: 'e5b5b836928d451bba9d66b30b0543d1'
}

I also tried to upload same image via Target Manager and it works fine. Do I miss something here? -

Development OS (Mac OS X, Windows, Linux): 10.15.4 (19E287) MAC OS CATALINA -

Mobile OS and Version: N/A -

Mobile Device Manufacturer and Model name: N/A -

Do the Vuforia Sample Applications show the same behavior?:

Vuforia VWS API add target issue

June 8, 2020 - 4:42am #1

Hi,

The 400 response means that the send information the format or something is not write and the server does not know how to interpret the send information.

In the vuforia web api samples we provide code snippets on how to perform the add target action. https://developer.vuforia.com/downloads/samples

Please go over our examples.

Thank you.

Vuforia Engine Support

Log in or register to post comments