Common status and error codes

All responses from operations in the Nintex Forms for Office 365 REST API include an HTTP status code, indicating whether the operation was successful. If an error was encountered by an operation, additional information about the error can be provided in the response body, depending on the error.

HTTP status codes

HTTP status codes are used to indicate the status of an operation in the Nintex Forms for Office 365 REST API. The following common HTTP status codes are supported by the REST API. For more information about the Message and Error objects in responses, see Response bodies.

Status code Description

200

OK

The operation was successful. The operation can return a Message object in the response body, depending on the operation.

400

Bad Request

An invalid operation has occurred. The operation can return an Error object in the response body, further describing the error, depending on the operation.

401

Unauthorized

The operation is not authorized for the specified user. The operation returns an Error object in the response body, further describing the error.

403

Forbidden.

The operation is forbidden. The operation returns an Error object in the response body, further describing the error.

404

Not Found

The specified resource could not be found. The operation returns an Error object in the response body, further describing the error, depending on the operation.

405

Method Not Allowed

The operation is not allowed. The operation returns an Error object in the response body, further describing the error.

500

Internal Server Error

The application has encountered an unknown error. The operation can return an Error object in the response body, further describing the error, depending on the operation.

Nintex Forms for Office 365 error codes

If an HTTP status code other than a success code is returned by an operation, an Error object is returned in the response body of the operation, in which additional details of the error are provided. The following common error codes are supported by the Nintex Forms for Office 365 REST API.

Error code Message
NF-1001 The Nintex Forms app was not found for the specified site.
NF-1002 The user does not have permission.
NF-1003 Failed to publish Nintex Form.
NF-1004 The specified package is not valid.
NF-1005 The specified list could not be found in the site.
NF-1006 Nintex form not found for the specified list.
NF-1009 Failed to delete Nintex Form.

Related Information

Nintex Forms for Office 365 REST API Resources