https://netsuiteprofessionals.com logo
#suitescript
Title
# suitescript
e

Eystein Bye

04/20/2022, 7:13 AM
Hi 👋 What is the best way to check for
SSS_REQUEST_LIMIT_EXCEEDED
in a RestLet?
t

trauty

04/20/2022, 7:49 AM
The service hitting the RESTELET should get a 400. We have implemented a couple of things depending on what we are attempting to do. In some cases we throttle our concurrent requests back and retry those that have failed after a period of time if the action has been triggered by a user, or we store the failure and give the user the option to retry the data at a later point in time if it was an automated fire https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/bridgehead_1525252812.html
e

Eystein Bye

04/20/2022, 8:10 AM
Ok, thanks. So does the Restlet exit at once when it gets
SSS_REQUEST_LIMIT_EXCEEDED
or can I catch it and clean-up or retry from inside the Restlet?
t

trauty

04/20/2022, 8:10 AM
I don't think it is possible to do within the restlet
👍 1
e

Eystein Bye

04/20/2022, 8:11 AM
Ok. Thanks 👍