SP.RequestExecutorErrors enumeration (sp.requestexecutor.js)

Specifies error messages thrown by the SP.RequestExecutor object (sp.requestexecutor.js).

Applies to: JavaScript | SharePoint Foundation 2013 | SharePoint Server 2013

SP.RequestExecutorErrors

Members

The RequestExecutorErrors enumeration has the following members.

Member

Value

Description

domainDoesNotMatch

The post message doesn’t match the message ID of the domain of the page that is registered with the callback function.

httpError

HTTP returned an unknown error when requesting data from or responding to the server.

iFrameLoadError

The iFrame that links to the proxy page on the server could not be loaded.

noAppWeb

The app web associated with this request or response could not be found.

noTrustedOrigins

requestAbortedOrTimedout

The HTTP request was aborted or timed out.

unexpectedResponse

An unexpected response was returned by the server.

See also

Other resources

JavaScript API reference for apps for SharePoint