module MiiApiErrorCode

Details a specific problem that occurred when accessing the API.

Constants

ACCESS_REVOKED

The user has revoked access to your application. The user would have to repeat the OAuth authorisation process before access would be restored to your application.

BLACKLISTED

Signifies that your application has been suspended and no API access can take place until miiCard releases the suspension on your application.

DEVELOPMENT_TRANSACTIONAL_SUPPORT_ONLY

Signifies that your account's support status is development-only. This is the case when your application hasn't yet been made live in the miiCard system, for example while we process your billing details and perform final checks.

EXCEPTION

A general exception occurred during processing - details may be available in the error_message property of the response object depending upon the nature of the exception.

FINANCIAL_DATA_SUPPPORT_DISABLED

Signifies that your account has not been enabled for Financial API support.

INVALID_SNAPSHOT_ID

Signifies that the snapshot ID supplied to a snapshot-based API method was either invalid or corresponded to a user for which authorisation tokens didn't match.

NO_MATCHES

No miiCard members matched the Directory API search criteria

PRODUCT_DELETED

Signifies that your application has been deleted. miiCard members will be unable to go through the OAuth process for your application, nor will you be able to access identity details through the API.

PRODUCT_DISABLED

Signifies that your application has been disabled, either by your request or by miiCard. miiCard members will be unable to go through the OAuth process for your application, though you will still be able to access the API.

SUCCESS

The API call succeeded.

TRANSACTIONAL_SUPPORT_DISABLED

Signifies that your account has not been enabled for transactional support.

UNKNOWN_SEARCH_CRITERION

An unrecognised search criterion was supplied to the Directory API

USER_SUBSCRIPTION_LAPSED

The user's miiCard subscription has elapsed. Only users with a current subscription can share their data with other applications and websites.