Hi :wave: What is the best way to check for `SSS_...
# suitescript
e
Hi 👋 What is the best way to check for
SSS_REQUEST_LIMIT_EXCEEDED
in a RestLet?
t
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
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
I don't think it is possible to do within the restlet
👍 1
e
Ok. Thanks 👍