Export (0) Print
Expand All
Expand Minimize

HealthServiceStatusCode Enumeration

HealthVault
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.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

'Declaration
Public Enumeration HealthServiceStatusCode

Member nameValueDescription
OtherDataItemSizeLimitExceeded-11 The other data item cannot be larger than the largest size allowed by the HealthVault platform.
RecordAuthorizationFailure-10 A record was not authorized for the application.
ConfigValueMissingOrMalformed-9 A required configuration value is missing or malformed for the key supplied.
CannotGetDataNotSet-8 The data element was not set, so it could not be retrieved.
NoRecordAuthDataForUpdate-7 The record authorization data wasn't supplied to allow the update to occur.
NotRecordCustodian-6 A person other than a record custodian tried to perform a privileged action.
NoApplicationInfoReturned-5 The application information could not be returned for the specified application identifier.
MoreThanOnePersonReturned-4 Information about multiple persons was returned when only a single result was expected.
RecordNotFound-3 The record specified in the request could not be found.
MoreThanOneThingReturned-2 Information about multiple record items was returned when only a single result was expected.
UnmappedError-1 The error condition is not recognized by the client.
Ok0 The request was successful.
Failed1 Generic failure, due to unknown causes or internal error.
BadHttp2 Http protocol problem.
InvalidXml3 Request xml cannot be parsed or nonconformant.
InvalidRequestIntegrity4 The signature is invalid.
BadMethod5 No such method.
InvalidApp6 App does not exist, app is invalid, app is not active, or calling IP is invalid.
CredentialTokenExpired7 credntial token has expired, need a new one.
InvalidToken8 Auth token malformed or otherwise busted.
InvalidPerson9 Person does not exist or is not active.
InvalidRecord10 Given record id does not exist.
AccessDenied11 Person or app does not have sufficient rights.
NotYetImplemented12 The functionality being accessed is not yet implemented.
InvalidThing13 Invalid thing identifier.
CantConvertUnits14 Data table already exists with incompatible units.
InvalidFilter15 Missing or invalid GetThingsFilter.
InvalidFormat16 Missing or invalid GetThings format specifier.
MissingSharedSecret17 A credential was supplied without a shared secret.
InvalidApplicationAuthorization18 authorized_applications entry missing.
InvalidThingType19 thing type doesn't exist.
ThingTypeImmutable20 can't update things of this type.
ThingTypeNotCreatable21 can't create things of this type.
DuplicateCredentialFound22 Duplicate Credential found.
InvalidRecordName23 Invalid Record name.
DrugNotFound24 Cannot find the drug specified.
InvalidPersonState25 Invalid person state.
InvalidCodeSet26 Requested code set was not found.
InvalidGroup27 Group does not exist, group is invalid, or group is not active.
InvalidValidationToken28 Invalid validation token for contact email validation.
InvalidAccountName29 Invalid group/person name to create a group.
InvalidContactEmail30 Invalid contact email to create a group.
InvalidLogOnName31 Invalid logon name.
InvalidPassword32 Invalid password.
InvalidTransform34 Transform cannot be loaded.
InvalidRelationshipType35 Invalid relationship type.
InvalidCredentialType36 Invalid credential type.
InvalidRecordState37 Invalid record state.
ApplicationAuthorizationNotRequired38 Application authorization is not required for this app.
RequestTooLong39 The request provided has exceeded maximum allowed request length.
DuplicateAuthorizedRecordFound40 Duplicate authorized record found.
EmailNotValidated41 Person email must be validated but it's not
DuplicateGroupFound42 A group already exists with the specified name.
GroupAlreadyHasParent43 The group already is a member of a group.
GroupMembershipCycleDetected44 Adding the group as a member of the specified group would cause a cycle in the group membership.
MailAddressMalformed45 The email address specified to SendInsecureMessage is malformed.
PasswordNotStrong46 The password does not meet the complexity requirements.
CannotRemoveLastCustodian47 The last custodian for a record cannot be removed.
InvalidEmailAddress48 The email address is invalid.
RequestTimedOut49 The request sent to HealthVault reached its time to live and is now too old to be processed.
InvalidSponsorEmail50 The sponsor email address is invalid.
InvalidPromotionToken51 Promotion token is invalid.
InvalidRecordAuthorizationToken52 Record authorization token is invalid.
TooManyRequestGroupsInQuery53 GetThings Query has too many request groups.
GrantAuthorizationExceedsDefault54 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.
InvalidVocabulary55 Requested code set was not found.
VocabularyLoadError56 An error occurred loading the vocabulary.
RecordAuthorizationTokenExpired57 Record authorization token has expired.
RecordAuthorizationDoesNotExist58 Record authorization does not exist.
ThingTypeNotDeletable59 can't delete things of this type.
VersionStampMissing60 Version stamp is missing.
VersionStampMismatch61 Version stamp does not match.
InvalidPublicKey63 Public key specified is not valid.
DomainNameNotSet64 The application's domain name is not set.
AuthenticatedSessionTokenExpired65 authenticated session token has expired, need a new one.
InvalidCredentialKey66 Indicates that the credential key could not be found.
InvalidPersonOrGroupId67 Pseudo id for person or group not valid
RecordQuotaExceeded68 The size occupied by the HealthRecordItems in the request will cause the HealthRecordInfo to exceed the size quota allotted to it.
InvalidDateTime69 the datetime exceeds the maximum or minimum values allowed by System.DateTime or System.Data.SqlTypes.SqlDateTime
InvalidCertificate70 The certificate is not valid. It may be expired or have been revoked.
ResponseTooLong71 The response has exceeded maximum size allowed.
InvalidVerificationQuestion72 The verification question for the connect request is invalid.
InvalidVerificationAnswer73 The verification answer for the connect request is invalid.
InvalidIdentityCode74 There is no connect request corresponding to the given code.
RetryLimitExceeded75 Number of retries has been exceeded.
CultureNotSupported76 The culture specified in the request header is not supported for the attempted operation.
InvalidFileExtension77 The file extension is not supported.
InvalidVocabularyItem78 The vocabulary item does not exist.
DuplicateConnectRequestFound79 Duplicate connect request found.
InvalidSpecialAccountType80 The account type being requested is not valid.
DuplicateTypeFound81 An attempt was made to add a new type with an identifier that already exists.
CredentialNotFound82 The requested credential could not be found.
CannotRemoveLastCredential83 Cannot remove the last credential associated with an account.
ConnectRequestAlreadyAuthorized84 The connect request has already been authorized.
InvalidThingTypeVersion85 The type specified to update an instance of a thing is an older version of the type than the existing instance.
CredentialsLimitExceeded86 The maximum number of allowed credentials has been exceeded.
InvalidMethod87 One or more invalid methods were specified in the method mask.
InvalidBlobRefUrl88 The reference url supplied for the blob streaming API is invalid.
CannotGetStreamedOtherData89 Other data put in to Healthvault via the streaming API cannot be requested as an other data string.
UpdateThingTypeVersionNoDataXml90 The type version of the thing cannot be changed without a data xml supplied for validation.
UnsupportedContentEncoding91 The content encoding specified for the blob is not supported.
ContentEncodingDataMismatch92 The content encoding specified for the blob does not match the blob data.
ApplicationLimitExceeded93 The number of applications for the person has been exceeded.
InvalidBinaryContentId94 The unique identifier for the binary content could not be found.
IncompleteConnectRequest95 The connect request retrieved is not yet fully created.
CreatePackageExists96 The connect package was previously fully populated and a new package cannot be attached.
InvalidFileName97 The file name extension is not supported.
InvalidSignupCode98 The signup code is invalid.
BlobSizeTooLargeForInline99 The blob is too large and cannot be returned inline.
DuplicateBlob100 A blob of this name is already present in the request.
BlobTokenCommitted101 The blob token corresponds to a blob that is already committed.
BlobTokenNotCompleted102 The blob token corresponds to a blob that was not marked completed through the streaming interface.
ThingPotentiallyIncomplete104 The thing being updated has data items that cannot be seen in this version, e.g. signatures with new signature methods or multiple blobs.
InvalidSignatureAlgorithm105 The signature algorithm is not valid.
InvalidBlobHashAlgorithm106 The blob hash algorithm is invalid or not supported.
UnsupportedBlobHashBlockSize107 The blob hash block size is unsupported.
BlobHashAlgorithmMismatch108 The specified blob hash algorithm does not match the blob's hash algorithm.
BlobHashBlockSizeMismatch109 The specified blob hash block size does not match the blob's hash block size.
UnsupportedSignatureMethod110 The signature method is not supported in the context it is being used.
InvalidBlobHash111 The specified blob hash is invalid.
PackageBlobNotCommitted112 The blob is associated with a connect package that is not yet created.
ApplicationStateTransitionNotSupported113 Changing the application state from deleted is not supported.
AppManagerAuthInviteDuplicate114 Application Manager authorization invite already exists.
ExistingAppManagerAuthInviteNotFound115 Application Manager invite is not found for re-send
InvalidAppManagerAuthToken116 Application Manager invite token is invalid.
ResendAppManagerInviteFailed117 Cannot resend application manager invite
AppManagerAuthAlreadyExist118 Application Manager authorization already exists
AppManagerAuthDoesNotExist119 Application Manager authorization specified does not exist.
EntityManagerAuthInviteDuplicate114 Entity Manager authorization invite already exists.
ExistingEntityManagerAuthInviteNotFound115 Entity Manager invite is not found for re-send
InvalidEntityManagerAuthToken116 Entity Manager invite token is invalid.
ResendEntityManagerInviteFailed117 Cannot resend entity manager invite
EntityManagerAuthAlreadyExist118 Entity Manager authorization already exists
EntityManagerAuthDoesNotExist119 Entity Manager authorization specified does not exist.
InvalidPackageContents120 The contents of the connect package are not valid xml.
InvalidContentType121 The content type of the file is not supported.
ConnectPackageValidationRequired122 The contents of the connect package must be validated before they are put into a health record.
InvalidThingState123 Invalid thing state.
TooManyThingsSpecified124 The maximum number of things specified has been exceeded.
InvalidEntityType125 Then entity type is not valid.
InvalidDirectoryItem126 Then directory item specified does not exist or is invalid.
InvalidDirectoryType127 Then directory item type specified is invalid.
InvalidDirectoryState128 Then directory item state specified is invalid.
InvalidVocabularyAuthorization129 The vocbulary authorization is invalid.
VocabularyAccessDenied130 Access to the requested vocabulary is denied.
PersonalFlagUnsupported131 Setting the personal flag is not supported on the type.
SubscriptionNotFound132 The requested subscription was not found.
SubscriptionLimitExceeded133 The number of subscriptions for the application was exceeded.
SubscriptionInvalid134 The subscription contains invalid data.
InvalidApplicationCreationToken135 The application creation token was invalid.
DuplicateApplicationId136 An application already exists for the token/application id.
SharingRequestingApplicationNotFound137 The application requesting the sharing invitation was not found.
EncryptedCredentialExpired138 The encrypted credential has expired.
DuplicateAlternateId139 The alternate id already exists.
AlternateIdNotFound140 The alternate id was not found.
AlternateIdsLimitExceeded141 The maximum number of alternate ids was exceeded.
RecordAuditNotFound143 The Record Audit was not found.
RecordSharingInvitationPinMismatch144 An incorrect pin was used to accept a record sharing invitation.
RecordSharingMaximumNumberOfAttemptsExceeded145 The maximum number of attempts for accepting/rejecting the sharing invitation has been exceeded.
UpdateConcurrencyViolation146 Optimistic concurrency violation detected.
RecordLocationNotSupported147 The record location is not supported by the application.
TooManyMessages148 The number of messages to be enqueued exceeds the config-defined limit.
CouldNotEnqueue149 There was an error when trying to add the messages to the queue.
DuplicateAppLocationInfo150 The specified location already exists for this application, or a warning message in the specified language already exists for this location.
RemoveLocationsInvalidWarningMessages151 The auth allowed warning messages are not required in the input for the remove app locations method.
MaintenanceModeAccessDenied152 Access is denied temporarily because HealthVault is in maintenance mode.
InvalidInstanceId153 The specified HealthVault instance identifier is invalid.
CannotUpdateReadOnlyThing154 Cannot update immutable thing instance.
CannotCreateReadOnlyThing155 Cannot create immutable thing instance.
CannotChangeReadOnlyFlag156 Cannot change immutable flag to false if it is true.
InvalidAge157 Age not supported for new accounts.
InvalidIPAddress158 IP Address not supported for method invocation.
CannotSetReadOnlyFlag161 Cannot set immutable flag to true on update.
CommunicationPreferencesAccessTokenExpired162 The communication preferences access token has expired.
InvalidSaml2Token163 Cannot process SAML 2.0 token
MeaningfulUseFeatureDisabled164 Invalid operation if Meaningful Use feature is disabled.
ApplicationCacheRequestDuplicateKey165 A key was specified more than once in the request in an application cache request.
ApplicationCacheRequestInvalidItem166 One or more cache items are invalid. A cache item with force-overwrite set to true cannot specify an old-version-id.
ApplicationCacheRequestTooLarge167 Cache operation has failed due to capacity limits.
DuplicateDirectAddress168 Direct Address already exists.
InvalidDirectAddress169 Direct address invalid format.
MaxDirectAddressesExceeded170 The maximum number of direct addresses has been exceeded.
DirectAddressNotFound171 The direct address could not be found.
InvalidMeaningfulUseSource172 One or more invalid Meaningful Use sources were specified.
DuplicateMeaningfulUseSources173 One or more invalid Meaningful Use sources were specified due to duplicates.
AppNotEnabledForMeaningfulUse174 Meaningful Use sources were specified though application is not Meaningful Use enabled.
ChildAppsNotEnabledForMeaningfulUse175 Meaningful Use sources ceiling were specified though application's method ceiling is not Meaningful Use enabled.
Max176 The maximum value of the status code that the SDK knows about. This is not a valid status code.
Show:
© 2014 Microsoft