{"app42Fault":{"httpErrorCode":401

0 votes
I got this kind of error trying to store device token and sure that my device time zone is right : {"app42Fault":{"httpErrorCode":401,"appErrorCode":1401,"message":"UnAuthorized
asked Jan 6, 2016 in App42 Cloud API-BaaS by biren.kanfo (10 points)

1 Answer

0 votes

Hello Biren,

 

There are different reasons behind getting unauthorized exception and are explained below:

      - Either your API Key & Secret Key is not correct

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

If above things are correct then please share the complete logs of StoreDeviceToken method. It will help us to provide better support to you.

To print the internal logs of App42 StoreDeviceToken method, please use below line of code just after the key initialization:

App42Log.SetDebug(true);

 

Regards,

Himanshu Sharma

answered Jan 6, 2016 by hs00105 (2,005 points)
Hello Biren,

Please let us know if you are still facing any issue. It will help us to provide better support to you.

Regards,
Himanshu Sharma
Same problem exists with me for iOS.
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
...