In iOS getting error Reason = {"app42Fault":{"httpErrorCode":401,.......

0 votes

Hye Rajeev,

Please find the error below..

Sikh Sangat NZ[566:152171] My token is: <ee4f8bcf 368a5628 f027304c 4d587939 8849348c 14c165b5 982bc70a bf8bf6fe>

2016-01-24 22:48:44.450 Sikh Sangat NZ[566:152171] My token is: ee4f8bcf368a5628f027304c4d5879398849348c14c165b5982bc70abf8bf6fe

2016-01-24 22:48:46.412 Sikh Sangat NZ[566:152171] Reason = {"app42Fault":{"httpErrorCode":401,"appErrorCode":1401,"message":"UnAuthorized Access","details":"Client is not authorized"}}

asked Jan 24, 2016 in iOS by prabhjassinghbajwa (25 points)
2016-01-24 23:06:41.223 Sikh Sangat NZ[573:156750] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/9A604822-5105-4CA1-B696-6B1158B934CD/Library/Cookies/Cookies.binarycookies
2016-01-24 23:06:41.627 Sikh Sangat NZ[573:156750] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2016-01-24 23:06:41.650 Sikh Sangat NZ[573:156750] Apache Cordova native platform version 3.9.2 is starting.
2016-01-24 23:06:41.654 Sikh Sangat NZ[573:156750] Multi-tasking -> Device: YES, App: YES
2016-01-24 23:06:41.664 Sikh Sangat NZ[573:156750] Unlimited access to network resources
2016-01-24 23:06:41.988 Sikh Sangat NZ[573:156750] [CDVTimer][keyboard] 0.517011ms
2016-01-24 23:06:42.064 Sikh Sangat NZ[573:156750] [CDVTimer][socialsharing] 74.820995ms
2016-01-24 23:06:42.064 Sikh Sangat NZ[573:156750] [CDVTimer][TotalPluginStartup] 76.344013ms
2016-01-24 23:06:42.256 Sikh Sangat NZ[573:156750] UTCTimeStamp=੨੦੧੬-੦੧-੨੪T੧੭:੩੬:੪੨.੨੫੨Z
2016-01-24 23:06:42.260 Sikh Sangat NZ[573:156750] SDK Version : 3.4
2016-01-24 23:06:42.288 Sikh Sangat NZ[573:156836] app42RequestCounter=0...counter=1
2016-01-24 23:06:42.341 Sikh Sangat NZ[573:156836] app42RequestCounter=1..
2016-01-24 23:06:42.665 Sikh Sangat NZ[573:156750] Resetting plugins due to page load.
2016-01-24 23:06:44.009 Sikh Sangat NZ[573:156750] Finished load of: file:///var/mobile/Containers/Bundle/Application/E992897A-2267-43E7-AEB3-6E8A594E05A9/Sikh%20Sangat%20NZ.app/www/index.html#/app/home
2016-01-24 23:06:44.467 Sikh Sangat NZ[573:156750] Exception = {"app42Fault":{"httpErrorCode":401,"appErrorCode":1401,"message":"UnAuthorized Access","details":"Client is not authorized"}}
2016-01-24 23:06:45.843 Sikh Sangat NZ[573:156750] My token is: <3ddfd9dd 08a2b955 2e11d778 b2bfc71a bf31c9a8 6c8f87e6 6f352f3c da2261c7>
2016-01-24 23:06:45.843 Sikh Sangat NZ[573:156750] My token is: 3ddfd9dd08a2b9552e11d778b2bfc71abf31c9a86c8f87e66f352f3cda2261c7
2016-01-24 23:06:47.776 Sikh Sangat NZ[573:156750] Reason = {"app42Fault":{"httpErrorCode":401,"appErrorCode":1401,"message":"UnAuthorized Access","details":"Client is not authorized"}}
Able to generate token but its not goint to apphq dashboard. Please help as soon as possible. I read the old post as well where you mentioned 2 points. I checked those things too but its not working for me.
@himanshu

1 Answer

0 votes

Hello Prabhjas,

It was an issue with time stamp  which was coming in hindi format in your case. I have fixed this issue from the SDK side and updated the SDK which can be downloaded from our github repo.

Please download and check. Let me know if the problem continues.

Thanks.

answered Jan 25, 2016 by rajeev.etc (1,660 points)
Yeah! that's true. Actually i'm using my iPhone in Punjabi Language as a primary language. But late night i'm able to fix that thing by making my iPhone's primary language to English than it started working. So, what should be done for such kind of issue?
I have fixed this inside the sdk itself, you just need to use the modified sdk from above link. Let me know if it is not fixed.
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
...