HealthServiceStatusCode Enum

Definition

Status codes for various conditions occurring in the SDK. Contains status codes returned by HealthVault methods as Response.Code and codes to represent errors in the SDK itself.

public enum HealthServiceStatusCode
Inheritance
HealthServiceStatusCode

Fields

AccessDenied

Person or app does not have sufficient rights.

AccountPaired

The account is already paired.

AlternateIdNotFound

The alternate id was not found.

AlternateIdsLimitExceeded

The maximum number of alternate ids was exceeded.

ApplicationAuthorizationNotRequired

Application authorization is not required for this app.

ApplicationCacheRequestDuplicateKey

A key was specified more than once in the request in an application cache request.

ApplicationCacheRequestInvalidItem

One or more cache items are invalid. A cache item with force-overwrite set to true cannot specify an old-version-id.

ApplicationCacheRequestTooLarge

Cache operation has failed due to capacity limits.

ApplicationLimitExceeded

The number of applications for the person has been exceeded.

ApplicationStateTransitionNotSupported

Changing the application state from deleted is not supported.

AppManagerAuthAlreadyExist

Application Manager authorization already exists

AppManagerAuthDoesNotExist

Application Manager authorization specified does not exist.

AppManagerAuthInviteDuplicate

Application Manager authorization invite already exists.

AppNotEnabledForMeaningfulUse

Meaningful Use sources were specified though application is not Meaningful Use enabled.

AuthenticatedSessionTokenExpired

authenticated session token has expired, need a new one.

BadHttp

Http protocol problem.

BadMethod

No such method.

BlobHashAlgorithmMismatch

The specified blob hash algorithm does not match the blob's hash algorithm.

BlobHashBlockSizeMismatch

The specified blob hash block size does not match the blob's hash block size.

BlobSizeTooLargeForInline

The blob is too large and cannot be returned inline.

BlobTokenCommitted

The blob token corresponds to a blob that is already committed.

BlobTokenNotCompleted

The blob token corresponds to a blob that was not marked completed through the streaming interface.

CannotChangeReadOnlyFlag

Cannot change immutable flag to false if it is true.

CannotCreateReadOnlyThing

Cannot create immutable thing instance.

CannotGetDataNotSet

The data element was not set, so it could not be retrieved.

CannotGetStreamedOtherData

Other data put in to Healthvault via the streaming API cannot be requested as an other data string.

CannotRemoveLastCredential

Cannot remove the last credential associated with an account.

CannotRemoveLastCustodian

The last custodian for a record cannot be removed.

CannotSetReadOnlyFlag

Cannot set immutable flag to true on update.

CannotUpdateReadOnlyThing

Cannot update immutable thing instance.

CantConvertUnits

Data table already exists with incompatible units.

ChildAppsNotEnabledForMeaningfulUse

Meaningful Use sources ceiling were specified though application's method ceiling is not Meaningful Use enabled.

ClientIdReferencesMultipleThings

The client ID references multiple things.

CommunicationPreferencesAccessTokenExpired

The communication preferences access token has expired.

ConfigValueMissingOrMalformed

A required configuration value is missing or malformed for the key supplied.

ConnectPackageValidationRequired

The contents of the connect package must be validated before they are put into a health record.

ConnectRequestAlreadyAuthorized

The connect request has already been authorized.

ContentEncodingDataMismatch

The content encoding specified for the blob does not match the blob data.

CouldNotEnqueue

There was an error when trying to add the messages to the queue.

CreatePackageExists

The connect package was previously fully populated and a new package cannot be attached.

CredentialNotFound

The requested credential could not be found.

CredentialsLimitExceeded

The maximum number of allowed credentials has been exceeded.

CredentialTokenExpired

credntial token has expired, need a new one.

CultureNotSupported

The culture specified in the request header is not supported for the attempted operation.

DataConnectionNotFound

DataPull:Update/Remove DataConnection - Connection not found.

DataConnectionStatusError

DataConnection is not enabled.

DirectAddressNotFound

The direct address could not be found.

DomainNameNotSet

The application's domain name is not set.

DrugNotFound

Cannot find the drug specified.

DuplicateAlternateId

The alternate id already exists.

DuplicateApplicationId

An application already exists for the token/application id.

DuplicateAppLocationInfo

The specified location already exists for this application, or a warning message in the specified language already exists for this location.

DuplicateAuthorizedRecordFound

Duplicate authorized record found.

DuplicateBlob

A blob of this name is already present in the request.

DuplicateConnectRequestFound

Duplicate connect request found.

DuplicateCredentialFound

Duplicate Credential found.

DuplicateDirectAddress

Direct Address already exists.

DuplicateGroupFound

A group already exists with the specified name.

DuplicateMeaningfulUseSources

One or more invalid Meaningful Use sources were specified due to duplicates.

DuplicateTypeFound

An attempt was made to add a new type with an identifier that already exists.

EmailNotValidated

Person email must be validated but it's not

EncryptedCredentialExpired

The encrypted credential has expired.

EntityManagerAuthAlreadyExist

Entity Manager authorization already exists

EntityManagerAuthDoesNotExist

Entity Manager authorization specified does not exist.

EntityManagerAuthInviteDuplicate

Entity Manager authorization invite already exists.

ExistingAppManagerAuthInviteNotFound

Application Manager invite is not found for re-send

ExistingEntityManagerAuthInviteNotFound

Entity Manager invite is not found for re-send

Failed

Generic failure, due to unknown causes or internal error.

GrantAuthorizationExceedsDefault

The permissions to be granted exceed the default permissions available to be granted. e.g. attempt to grant all access when only read access is available.

GroupAlreadyHasParent

The group already is a member of a group.

GroupMembershipCycleDetected

Adding the group as a member of the specified group would cause a cycle in the group membership.

IncompleteConnectRequest

The connect request retrieved is not yet fully created.

InvalidAccountName

Invalid group/person name to create a group.

InvalidAge

Age not supported for new accounts.

InvalidApp

App does not exist, app is invalid, app is not active, or calling IP is invalid.

InvalidApplicationAuthorization

authorized_applications entry missing.

InvalidApplicationCreationToken

The application creation token was invalid.

InvalidAppManagerAuthToken

Application Manager invite token is invalid.

InvalidBinaryContentId

The unique identifier for the binary content could not be found.

InvalidBlobHash

The specified blob hash is invalid.

InvalidBlobHashAlgorithm

The blob hash algorithm is invalid or not supported.

InvalidBlobRefUrl

The reference url supplied for the blob streaming API is invalid.

InvalidCertificate

The certificate is not valid. It may be expired or have been revoked.

InvalidCodeSet

Requested code set was not found.

InvalidContactEmail

Invalid contact email to create a group.

InvalidContentType

The content type of the file is not supported.

InvalidCredentialKey

Indicates that the credential key could not be found.

InvalidCredentialType

Invalid credential type.

InvalidDateTime

the datetime exceeds the maximum or minimum values allowed by System.DateTime or System.Data.SqlTypes.SqlDateTime

InvalidDirectAddress

Direct address invalid format.

InvalidDirectoryItem

Then directory item specified does not exist or is invalid.

InvalidDirectoryState

Then directory item state specified is invalid.

InvalidDirectoryType

Then directory item type specified is invalid.

InvalidEmailAddress

The email address is invalid.

InvalidEntityManagerAuthToken

Entity Manager invite token is invalid.

InvalidEntityType

Then entity type is not valid.

InvalidFileExtension

The file extension is not supported.

InvalidFileName

The file name extension is not supported.

InvalidFilter

Missing or invalid GetThingsFilter.

InvalidFormat

Missing or invalid GetThings format specifier.

InvalidGroup

Group does not exist, group is invalid, or group is not active.

InvalidIdentityCode

There is no connect request corresponding to the given code.

InvalidInstanceId

The specified HealthVault instance identifier is invalid.

InvalidIPAddress

IP Address not supported for method invocation.

InvalidLogOnName

Invalid logon name.

InvalidMeaningfulUseSource

One or more invalid Meaningful Use sources were specified.

InvalidMethod

One or more invalid methods were specified in the method mask.

InvalidMshUserId

Invalid Microsoft Heath User ID

InvalidPackageContents

The contents of the connect package are not valid xml.

InvalidPassword

Invalid password.

InvalidPerson

Person does not exist or is not active.

InvalidPersonOrGroupId

Pseudo id for person or group not valid

InvalidPersonState

Invalid person state.

InvalidPromotionToken

Promotion token is invalid.

InvalidPublicKey

Public key specified is not valid.

InvalidRecord

Given record id does not exist.

InvalidRecordAuthorizationToken

Record authorization token is invalid.

InvalidRecordName

Invalid Record name.

InvalidRecordState

Invalid record state.

InvalidRelationshipType

Invalid relationship type.

InvalidRequestIntegrity

The signature is invalid.

InvalidSaml2Token

Cannot process SAML 2.0 token

InvalidSignalType

The specified signal type is invalid.

InvalidSignatureAlgorithm

The signature algorithm is not valid.

InvalidSignupCode

The signup code is invalid.

InvalidSourceId

DataPull: SourceId is either not active or not a data adapter.

InvalidSpecialAccountType

The account type being requested is not valid.

InvalidSponsorEmail

The sponsor email address is invalid.

InvalidThing

Invalid thing identifier.

InvalidThingOrderSpecs

The specified GetThings order-by specifications are invalid.

InvalidThingState

Invalid thing state.

InvalidThingType

thing type doesn't exist.

InvalidThingTypeVersion

The type specified to update an instance of a thing is an older version of the type than the existing instance.

InvalidToken

Auth token malformed or otherwise busted.

InvalidTransform

Transform cannot be loaded.

InvalidValidationToken

Invalid validation token for contact email validation.

InvalidVerificationAnswer

The verification answer for the connect request is invalid.

InvalidVerificationClientId

Client id value for connect request invalid.

InvalidVerificationQuestion

The verification question for the connect request is invalid.

InvalidVocabulary

Requested code set was not found.

InvalidVocabularyAuthorization

The vocbulary authorization is invalid.

InvalidVocabularyItem

The vocabulary item does not exist.

InvalidXml

Request xml cannot be parsed or nonconformant.

MailAddressMalformed

The email address specified to SendInsecureMessage is malformed.

MaintenanceModeAccessDenied

Access is denied temporarily because HealthVault is in maintenance mode.

Max

The maximum value of the status code that the SDK knows about. This is not a valid status code.

MaxDirectAddressesExceeded

The maximum number of direct addresses has been exceeded.

MeaningfulUseFeatureDisabled

Invalid operation if Meaningful Use feature is disabled.

MissingSharedSecret

A credential was supplied without a shared secret.

MoreThanOnePersonReturned

Information about multiple persons was returned when only a single result was expected.

MoreThanOneThingReturned

Information about multiple record items was returned when only a single result was expected.

MshUserIdPaired

The Microsoft Health user ID is already paired with another account.

NoApplicationInfoReturned

The application information could not be returned for the specified application identifier.

NoRecordAuthDataForUpdate

The record authorization data wasn't supplied to allow the update to occur.

NotRecordCustodian

A person other than a record custodian tried to perform a privileged action.

NotYetImplemented

The functionality being accessed is not yet implemented.

Ok

The request was successful.

OtherDataItemSizeLimitExceeded

The other data item cannot be larger than the largest size allowed by the HealthVault platform.

PackageBlobNotCommitted

The blob is associated with a connect package that is not yet created.

PairingRecordRequirementsNotMet

The record does not meet the requirements for pairing.

PasswordNotStrong

The password does not meet the complexity requirements.

PersonalFlagUnsupported

Setting the personal flag is not supported on the type.

RecordAuditNotFound

The Record Audit was not found.

RecordAuthorizationDoesNotExist

Record authorization does not exist.

RecordAuthorizationFailure

A record was not authorized for the application.

RecordAuthorizationTokenExpired

Record authorization token has expired.

RecordIdPaired

HealthVault record ID is already paired with another Microsoft Health user ID.

RecordLocationNotSupported

The record location is not supported by the application.

RecordNotFound

The record specified in the request could not be found.

RecordQuotaExceeded

The size occupied by the HealthRecordItems in the request will cause the HealthRecordInfo to exceed the size quota allotted to it.

RecordSharingInvitationPinMismatch

An incorrect pin was used to accept a record sharing invitation.

RecordSharingMaximumNumberOfAttemptsExceeded

The maximum number of attempts for accepting/rejecting the sharing invitation has been exceeded.

RecordStoreUnavailable

Record store is not available.

RecordUnderMaintenance

When record is under maintenance, all reads and writes are blocked.

RemoveLocationsInvalidWarningMessages

The auth allowed warning messages are not required in the input for the remove app locations method.

RequestTimedOut

The request sent to HealthVault reached its time to live and is now too old to be processed.

RequestTooLong

The request provided has exceeded maximum allowed request length.

ResendAppManagerInviteFailed

Cannot resend application manager invite

ResendEntityManagerInviteFailed

Cannot resend entity manager invite

ResponseTooLong

The response has exceeded maximum size allowed.

RetryLimitExceeded

Number of retries has been exceeded.

SharingRequestingApplicationNotFound

The application requesting the sharing invitation was not found.

SubscriptionInvalid

The subscription contains invalid data.

SubscriptionLimitExceeded

The number of subscriptions for the application was exceeded.

SubscriptionNotFound

The requested subscription was not found.

ThingPotentiallyIncomplete

The thing being updated has data items that cannot be seen in this version, e.g. signatures with new signature methods or multiple blobs.

ThingSortNotEnabled

Thing sort functionality is not enabled.

ThingTypeImmutable

can't update things of this type.

ThingTypeNotCreatable

can't create things of this type.

ThingTypeNotDeletable

can't delete things of this type.

TooManyMessages

The number of messages to be enqueued exceeds the config-defined limit.

TooManyRequestGroupsInQuery

GetThings Query has too many request groups.

TooManyThingsSpecified

The maximum number of things specified has been exceeded.

UnmappedError

The error condition is not recognized by the client.

UnsupportedBlobHashBlockSize

The blob hash block size is unsupported.

UnsupportedContentEncoding

The content encoding specified for the blob is not supported.

UnsupportedSignatureMethod

The signature method is not supported in the context it is being used.

UpdateConcurrencyViolation

Optimistic concurrency violation detected.

UpdateThingTypeVersionNoDataXml

The type version of the thing cannot be changed without a data xml supplied for validation.

VersionStampMismatch

Version stamp does not match.

VersionStampMissing

Version stamp is missing.

VocabularyAccessDenied

Access to the requested vocabulary is denied.

VocabularyLoadError

An error occurred loading the vocabulary.