Log in or register to post comments

Authentication Failure while trying to add Target using objective C

March 21, 2013 - 11:46pm #1

Hi,

I am trying to add the image Target using VWS.I am using objective C for this.

I am having some problem and getting Authentication Failure response from server.

I have some String printed on Console.I want to ask whether these strings are valid or not

1) "StringToSign" in Signature finding

I am getting output of this string like:

 

HTTP-Verb: POST

Content-MD5: ad7dcb3160992a01fade8c517b9977ce

Content-Type: application/json

Date: Fri, 22 Mar 2013 06:10:09 GMT

Request-Path: /targets

 

And Signature String is:

 

Z9BCioSnemneazKeIuVK40X+4z8AJBBdQnzoXF7y514=

I want to ask whether Content-MD5 string is valid?or any problem in Signature String?

Please help me to solve this issue.

Authentication Failure while trying to add Target using objectiv

October 29, 2015 - 4:20am #5

Are you able to share your resolution?

Am struggling with the same problem, getting an authentication error.

I translated the "SignatureBuilder.php" file to objective c best i could..although obviously not good enough.

Thanks

Authentication Failure while trying to add Target using objectiv

March 22, 2013 - 2:45am #4

I have resolved the problem already.

Thanks for your reply.

Authentication Failure while trying to add Target using objectiv

March 22, 2013 - 2:43am #3

While it is theoretically possible to access the VWS API from a device, it is not the recommended way.

If you must upload from a device the best way would be to setup your own gateway server and upload to that instead.  Then you would have a batch process to periodically update the VWS server from your gateway server.

This solution avoids having your secret server keys in a client application and it is most likely to ensure a better user experience.

Hope you can understand.

 

N

Authentication Failure while trying to add Target using objectiv

March 22, 2013 - 2:39am #2

I am also facing the same problem

Log in or register to post comments