Common status and error codes

All responses from operations in the Nintex Workflow 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 Workflow 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 Workflow 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 NintexWorkflow for Office 365 REST API.

Error code Message Description

NW-1001

The specified package is not valid.

The contents of a Nintex Workflow for Office 365 export (.nwp) file are not specified in the request body, or the specified contents of the export file are not valid.

NW-1002

The specified list workflow cannot be imported to a site context.

A list workflow cannot be imported into a SharePoint site.

NW-1003

The specified site workflow cannot be imported to a list context.

A site workflow cannot be imported into a SharePoint list or document library.

NW-1004

The specified workflow could not be found.

The workflow identifier specified for the workflow could not be located on the specified SharePoint site.

NW-1005

The task list cannot be found for the specified site.

The specified SharePoint task list could not be found.

NW-1006

The manifest for the specified package does not contain valid version information.

The export file is not valid.

NW-1007

The specified workflow contains validation errors.

The specified workflow contains validation errors, which prevent the workflow from being published by SharePoint.

NW-1008

Nintex Forms integration is not available.

Nintex Forms integration is not available.

NW-1009

The manifest for the specified package cannot be found.

The export file is not valid.

NW-1010

The manifest for the specified package cannot be read.

The export file is not valid.

NW-1011

A workflow with the specified name already exists.

The workflow package cannot be imported because the name specified for the workflow already exists in the SharePoint site collection.

NW-1012

Your changes to the specified workflow conflict with those made concurrently by another user.

The workflow package cannot be imported or migrated because a save conflict has occurred while attempting to replace the specified existing workflow in SharePoint.

NW-1013

The specified workflow is not valid.

The workflow package does not contain a valid workflow definition.

NW-1014

A valid list was not specified.

The listname parameter was not specified when migrating a list workflow, and the list workflow from the export file did not specify a list.

NW-1015

The specified list could not be found on the site.

This error can occur for any of the following reasons:

  • The list name specified in the listTitle parameter could not be found on the specified SharePoint site when migrating a list workflow.

  • The listTitle parameter was not specified and the list specified in the list workflow from the export file could not be found on the specified SharePoint site.

NW-1016

A valid list identifier was not specified.

The identifier for the list was not provided, or could not be resolved to an existing SharePoint list or document library.

NW-1017

A site workflow cannot be migrated to the specified list.

The listname parameter was specified when migrating a site workflow.

NW-1018

The specified field cannot be found for the specified content type.

The field specified for a content type specified in a workflow task included in the specified workflow was not found when importing or exporting the workflow.

NW-1019

The specified content type cannot be found.

The content type specified in a workflow task included in the specified workflow was not found when importing or exporting the workflow.

NW-1020

The specified user cannot be found for the specified site.

The specified user was not found at the specified SharePoint site.

NW-1021

Access to the specified site is forbidden.

The current user does not have permission to invoke the specified operation.

NW-1022

Unable to access the specified site.

The specified SharePoint site.

NW-1023

UnknownTenant

Infrastructure. Nintex internal use only.

NW-1024

Request requires functionality not available in the present app version.

The request was sent to a previous version of Nintex Workflow for Office 365, which does not support the workflow functionality needed to perform the request.

NW-1030

This workflow contains actions that are now unavailable. You cannot publish this workflow. Contact a Nintex administrator to request change for action availability.

The workflow definition you are trying to publish or assign use of contains configured actions that are no longer available or have been disallowed.

Related Information

API Reference