<@U54C723KM> Unfortunately, that is not possible. ...
# suitescript
s
@gan686 Unfortunately, that is not possible. If you return a response, it will alway be a 200 OK response code. Throwing an error will return a 400 Bad Request, but you have less control over the response (you’ll get a serialized version of the Error object).