Status Codes
When you call any of the REST API for Embedded Python Execution endpoints, the response returns one of the standard HTTP status codes defined in the following table.
| HTTP Status Code | Description | 
|---|---|
200 OK | 
                              The request executed successfully and the response has content. | 
201 Created | 
                              The resource was successfully created. The response contains a location header that points to the new resource. | 
202 Accepted | 
                              The request has accepted for processing, but the processing has not been completed. This response applies to a resource that supports an asynchronous process. | 
302 Found | 
                              The request has finished processing and the response contains a location header that points to the new resource. | 
400 Bad Request | 
                              The request could not be processed because it contains missing or invalid information (such as a validation error on a parameter or a missing required value). | 
401 Unauthorized | 
                              The request lacks valid authentication credentials for the target resource.. | 
| 500 Internal Server Error | The server encountered an unexpected condition that prevented it from fulfilling the request. |