getting error of unauthorise(401) in sendFriendRequest, how to fix?

0 votes
asked Dec 29, 2014 in App42 Cloud API-BaaS by scoretesting (10 points)

1 Answer

0 votes

Hello,

Thanks for writing us.

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,

Please make sure your device time is correct when your are working with device. Also this question is discussed on our FAQ which tell you the reason why it will come. If you want to skip the device time check in every call, you can disable the replay attack from AppHQ Management Console. Follow just simple steps:

  • Login to AppHQ Management Console
  • Click on View apps from App Manager 
  • Disable the replay attack for your app

Let us know if it helps.

Himanshu Sharma

answered Dec 29, 2014 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
...