{ "type": "<https://www.rfc-editor.org/rfc/rfc...
# ask-stanley-ai
m
{ "type": "https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1", "title": "Bad Request", "status": 400, "o:errorDetails": [ { "detail": "Error while accessing a resource. This record has been locked by a user defined workflow.", "o:errorCode": "USER_ERROR" } ] } why this error mean and how overcame this?
c
AI generated answer (using internal Slack threads):
The error message you're seeing is a USER_ERROR with the detail "Error while accessing a resource. This record has been locked by a user defined workflow." This error occurs when a record in NetSuite has been locked by a user-defined workflow, and you're trying to access it via a web service. To overcome this issue, you can adjust the context parameter of the lock record action in your workflow. You should select UI as the context and leave web services unselected. This will allow the record to be locked in the UI, but still accessible via web services. If you're unsure which context to select, look for the options SOAP Web Services, REST Web Services, and RestLet. These are the contexts that allow access via web services. Please note that this solution assumes that you have the necessary permissions to modify the workflow and that the workflow is not locked by another user or process. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.800279081
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.800196767
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799501061
Please provide your feedback on this answer.