API2
customersuccess at April 29th, 2014 07:49 — #1
I've started logging info when a request fails and I'm getting the 101 Expired (regarding auth signature) error.
It seems like they're just taking too long.
I'm making the calls on the client side through jQuery's .ajax method.
Is there any way to correct the the 101 Expired error?
This query was logged with our customer success team. We are reposting it here as it may be useful to others
peteretep at April 29th, 2014 07:53 — #2
If you are experiencing "101 Expired error", could you check if X-OnePageCRM-TS header is set correctly? I.e. note that we are expecting here time given as unix timestamp (in seconds) and when you'll call new Date().getTime() in JavaScript, you'll get time given in miliseconds, so you'll have to divide this number by 1000.
Also please check if clock is set correctly as our servers have +/- 30 minutes toleration set and will return "expired" error when given time will be outside of this tolerance.
It may be better to move this code to the server side for reliability.
Powered by Discourse, best viewed with JavaScript enabled