Implementation Guidelines
Below are the guidelines to be followed before the implementation of custom code snippet to avoid error:
• Custom code snippet should be a valid JavaScript code.
• Ensure that error handling is performed in the snippet.
• The $response must be called with correct status value.
• All the error conditions should be provided with appropriate error messages.
• Handle all the possible error codes, which can be returned from the API’s.