Log in or register to post comments

VWS PHP Sample Code - Result Code: Fail

October 28, 2015 - 10:47am #1
Hi,
 
when trying to execute the GetAllTargets from the PHP examples (VWS Sample Code PHP 2.0.0), following error is returned:
 
Unexpected HTTP status: 400 Bad Request {"result_code":"Fail","transaction_id":"5fc968ff1d134742aa63e82abae7df48"}
 
I just changed the time zone to UTC.
 
Did anyone encounter this issue and knows a possible cause?
 
Thanks!

VWS PHP Sample Code - Result Code: Fail

September 25, 2018 - 2:48am #4

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"

}

VWS PHP Sample Code - Result Code: Fail

October 29, 2015 - 1:10pm #3

Thanks, it's working now.

VWS PHP Sample Code - Result Code: Fail

October 29, 2015 - 12:34pm #2

The timestamp code should remain as GMT time, regardless of your local timezone.

Log in or register to post comments