Log in or register to post comments

Authentication failure (401)

August 17, 2016 - 9:04am #1

Hi,

I implemented a code to add a new target on my Cloud Database, but I get a persistent error "Authentication failure (401)."

I checked line by line my request process, and it seems correct.

Something seems to be wrong for you?

Server Keys:

Access Key: ef30f18944b2ca7983c1f90597ab33fc97677f99
Secret Key: 67aab489b34e4ce24b93e217c3f8b97f744f1c53

Signature:

POST
f2c86de90172948fa9534b9fe8be7f75
application/json
Wed, 17 Aug 2016 14:37:15 GMT
/targets

HMAC-SHA1 Hash:

664cc015c709fc6127f889f8deec3d05ca182a25

Request Headers:

Content-Type: application/json
Date: Wed, 17 Aug 2016 14:37:15 GMT
Authorization: VWS ef30f18944b2ca7983c1f90597ab33fc97677f99:NjY0Y2MwMTVjNzA5ZmM2MTI3Zjg4OWY4ZGVlYzNkMDVjYTE4MmEyNQ==

Request Body (attached file).

 

Please, some help!

AttachmentSize
Plain text icon request-body.txt41.64 KB

Authentication failure (401)

November 9, 2016 - 5:49am #4

Dd you resolve this or still facing problem?

Authentication failure (401)

August 28, 2016 - 7:34pm #3

I use java programming language to call the https://cloudreco.vuforia.com/v1/query this api (https://library.vuforia.com/articles/Solution/How-To-Perform-an-Image-Recognition-Query), but it return the "AuthenticationFailure(401)", I use the same sign way  to call https://vws.vuforia.com/  this api, it return success, why? The two api use the different Signature way?

Thanks!

Authentication failure (401)

August 17, 2016 - 12:38pm #2

Hi!

I found the error.

I'm developing code in C#, and a conversion of bytes to hex string before encoding in base64 generated a wrong base64 string.

Another error was used Environment.NewLine instead of "\n" to concatenate values.

 

I hope this helps others with a similar problem!

 

Greatings!

Log in or register to post comments