Log in or register to post comments

Successful response but image target not in Manager

March 11, 2013 - 5:29pm #1

Hi,

 

I am using the VWS API to upload reference images to the cloud database.

My result_code of the request is: TargetCreated and I recieve a Transaction_id and target_id. However, when I go to the Target Manager under my account, the reference images that I created do not appear.

Does anyone have any suggestions as to what I am doing wrong?

TIA!

Successful response but image target not in Manager

March 12, 2013 - 3:42pm #9

Can you PM me a link to this image file - or I can give you an email address to send it to.

Successful response but image target not in Manager

March 12, 2013 - 3:37pm #8

I tried to upload through the Target Manger the same file(s) that I am unable to upload via VWS API and they seem to work fine.

Any ideas about what could be causing the fail status in the GetTarget request?

Successful response but image target not in Manager

March 12, 2013 - 6:20am #7

Ok so as you suggested I query the target Id after the reference image has been created and these are the responses I recieve:

The reponse from the PutTarget query:

 

    [result_code] => TargetCreated
    [transaction_id] => f4cb34db96e94c84a169ec89909ad6f4
    [target_id] => 57e960114c19475398175c8242346162

The response from the GetTarget query:

    [result_code] => Success
    [transaction_id] => 43a03d69f1db4c47be8a4d4d3cae1d5d
    [target_record] => stdClass Object
        (
            [target_id] => 57e960114c19475398175c8242346162
            [active_flag] => 
            [name] => stone9264
            [width] => 200
            [tracking_rating] => 0
            [reco_rating] => 
        )

    [status] => failed

For some reason the GetTarget query returns a status of failed. Any suggestions what I am doing wrong?

Thanks for your assistance!

Successful response but image target not in Manager

March 11, 2013 - 6:35pm #6

The response body is the JSON body containing the transaction and target ids along with a result code - but I see that you've already provided me with a result code, so don't bother, you've already given me all of the info in the response body.

It's looks like this ..

HTTP/1.1 201 Created
Content-Type: application/json
{
“result_code”:”Success”,
“transaction_id”:”550e8400e29b41d4a716446655440452”,
“target_id”: ”550e8400e29b41d41626446655440000”
}

 

BTW have you tried querying the affected target's record a/o using your client keys?

https://developer.vuforia.com/resources/dev-guide/retrieving-target-cloud-database

The /targets query will tell you what the status is and whether there is a sync problem w/ the TM.

Successful response but image target not in Manager

March 11, 2013 - 6:23pm #5

Thanks for looking into this.

Not all of my uploads are affected, but they all return a TargetCreated result code. What do you mean by response body? I recieve the result code, transaction id and target id as a response from the server.

Successful response but image target not in Manager

March 11, 2013 - 6:18pm #4

I'll look into this.

Do you have the response body that was returned when uploading the target? Also are all of your current uploads affected?

Successful response but image target not in Manager

March 11, 2013 - 6:10pm #3

Hi David,

 

I have taken the delay into account and checked (and re-checked) the keys I am using and everything seems to be in order.

My project id is d64d0e29ea0f48cd8a4130259c21b3dc

the target id is: c8bd05905e40469f93b1731dc81cf25d

 

Thanks for your assistance!

Successful response but image target not in Manager

March 11, 2013 - 5:36pm #2

There is sometimes a delay in the updating of the Target Manager UI. Also be sure that the server keys that you are using match the keys for the Cloud Reco database that you are uploading to.

If you are use the correct keys and the target still doesn't appear, please post the project ID, which you can find in the URL for your Cloud Reco DB, and the target ID of the target you are looking for.

Log in or register to post comments