Share via

CloudSpatialErrorCode Enum


Identifies the source of an error in a cloud spatial session.

public enum class CloudSpatialErrorCode
public enum CloudSpatialErrorCode
type CloudSpatialErrorCode = 
Public Enum CloudSpatialErrorCode


AlreadyAssociatedWithADifferentStore 8

The Spatial Entity has already been associated with a different Store object, so cannot be used with this current Store object.

AlreadyExists 9

SpatialEntity already exists in a Store but TryCreateAsync was called.

ApplicationNotAuthenticated 1

Application did not provide valid credentials and therefore could not authenticate with the Cloud Service.

ApplicationNotAuthorized 2

Application did not provide any credentials for authorization with the Cloud Service.

CannotConnectToServer 6

Application cannot connect to the Cloud Service.

ConcurrencyViolation 3

Multiple stores (on the same device or different devices) made concurrent changes to the same Spatial Entity and so this particular change was rejected.

HttpTimeout 20

The Http request timed out.

InvalidAnchorTransformRigidity 21

The transform matrix of platform anchor passed in is invalid. It is either not affine, or its rotation matrix is not orthonormal. The second case may be caused due to its containing a non-uniform scale or a uniform scale other than 1, or just some malformed values.

LocateCriteriaInConflict 15

The LocateCriteria options that were specified are not valid because they're in conflict with settings for another mode.

LocateCriteriaInvalid 16

The LocateCriteria options that were specified are not valid values.

LocateCriteriaMissingRequiredValues 14

The LocateCriteria options that were specified are not valid because they're missing a required value.

LocateCriteriaNotSupported 17

The LocateCriteria options that were specified are not valid because they're not currently supported.

MetadataTooLarge 0

Amount of Metadata exceeded the allowed limit (currently 4k).

NoAccessTokenSpecified 11

An access token was required but not specified; handle the TokenRequired event on the session to provide one.

NoLocateCriteriaSpecified 10

A locate operation was requested, but the criteria does not specify anything to look for.

NoSpatialLocationHint 5

No Spatial Location Hint was available (or it was not specific enough) to support rediscovery from the Cloud at a later time.

NotEnoughSpatialData 4

Not enough Neighborhood Spatial Data was available to complete the desired Create operation.

ServerError 7

Cloud Service returned an unspecified error.

TooManyRequests 13

There were too many requests made from this Account ID, so it is being throttled.

UnableToObtainAccessToken 12

The session was unable to obtain an access token and so the creation could not proceed.

Unknown 19

Encountered an unknown error on the session.

Applies to