Client is not authorized

0 votes

 

Signature : JiQgGEgZ8C7XuFH7xoZz5sPJXSo%3D

Http url : 1.0/upload

QueryString is ?

 Setting Header value : SDKName : AS3

 Setting Header value : apiKey : 49bd3ab8c1bb3429fe062f99c4b7b7884a3d2b51fbbfc3cd6afef33f50e20419

 Setting Header value : dataACL : [{"null":null}]

 Setting Header value : resource : upload

 Setting Header value : signature : JiQgGEgZ8C7XuFH7xoZz5sPJXSo%3D

 Setting Header value : timeStamp : 2015-01-12T2:28:1.205Z

 Setting Header value : version : 1.0

Exception message {"app42Fault":{"httpErrorCode":401,"appErrorCode":1401,"message":"UnAuthorized Access","details":"Client is not authorized"}}

HttpErrorCode 401

AppErrorCode 1401

Exception Message Error: {"app42Fault":{"httpErrorCode":401,"appErrorCode":1401,"message":"UnAuthorized Access","details":"Client is not authorized"}}

Error: {"app42Fault":{"httpErrorCode":401,"appErrorCode":1401,"message":"UnAuthorized Access","details":"Client is not authorized"}}

 

 I used service: http://api.shephertz.com/app42-docs/file-upload-service/?sdk=flash#upload-file

asked Jan 12, 2015 in App42 Cloud API-BaaS by Trần Duy Tân (10 points)

1 Answer

0 votes

Hello,

The error which you have shared is occur mainly due to below reasons: 

      - Either your API Key & Secret Key is not correct

      - Or the device time is not correct on which your app is running,

Please make sure your device time is correct when your are working with device. You can disable the replay attack from protection on your app, however if you don’t have much security concern regarding your app data, you can disable it from AppHQ console under AppManager -> View Apps option.

Let us know if it helps.

Himanshu Sharma

answered Jan 12, 2015 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...