Skip to main content

Errors

Modio.Errors

TypeDescription
ApiError
ArchiveError
ErrorException
ErrorExtensions
FilesystemError
GenericError
HttpError
MetricsError
ModManagementError
ModValidationError
MonetizationError
RateLimitError
SystemError
TempModsError
UserAuthError
UserDataError
ZlibError

ApiError

public class ApiError : Error
Field

ApiError None

ApiError None = new ApiError(ApiErrorCode.NONE)
Property

ApiErrorCode Code

public new ApiErrorCode Code

ArchiveError

public class ArchiveError : Error
Field

ArchiveError None

ArchiveError None = new ArchiveError(ArchiveErrorCode.NONE)
Property

ArchiveErrorCode Code

public new ArchiveErrorCode Code

ErrorException

public class ErrorException : Error
Field

Exception Exception

Exception Exception
Method

GetMessage

public override string GetMessage()

ErrorExtensions

public static partial class ErrorExtensions
Method

GetMessage

public static string GetMessage(this ApiErrorCode errorCode, string append

FilesystemError

public class FilesystemError : Error
Field

FilesystemError None

FilesystemError None = new FilesystemError(FilesystemErrorCode.NONE)
Property

FilesystemErrorCode Code

public new FilesystemErrorCode Code

GenericError

public class GenericError : Error
Field

GenericError None

GenericError None = new GenericError(GenericErrorCode.NONE)
Property

GenericErrorCode Code

public new GenericErrorCode Code

HttpError

public class HttpError : Error
Field

HttpError None

HttpError None = new HttpError(HttpErrorCode.NONE)
Property

HttpErrorCode Code

public new HttpErrorCode Code

MetricsError

public class MetricsError : Error
Field

MetricsError None

MetricsError None = new MetricsError(MetricsErrorCode.NONE)
Property

MetricsErrorCode Code

public new MetricsErrorCode Code

ModManagementError

public class ModManagementError : Error
Field

ModManagementError None

ModManagementError None = new ModManagementError(ModManagementErrorCode.NONE)
Property

ModManagementErrorCode Code

public new ModManagementErrorCode Code

ModValidationError

public class ModValidationError : Error
Field

ModValidationError None

ModValidationError None = new ModValidationError(ModValidationErrorCode.NONE)
Property

ModValidationErrorCode Code

public new ModValidationErrorCode Code

MonetizationError

public class MonetizationError : Error
Field

MonetizationError None

MonetizationError None = new MonetizationError(MonetizationErrorCode.NONE)
Property

MonetizationErrorCode Code

public new MonetizationErrorCode Code

RateLimitError

public class RateLimitError : Error
Field

int RetryAfterSeconds

int RetryAfterSeconds
Remarks

This can be 0 in the event of a rolling rate limit.


SystemError

public class SystemError : Error
Field

SystemError None

SystemError None = new SystemError(SystemErrorCode.NONE)
Property

SystemErrorCode Code

public new SystemErrorCode Code

TempModsError

public class TempModsError : Error
Field

TempModsError None

TempModsError None = new TempModsError(TempModsErrorCode.NONE)
Property

TempModsErrorCode Code

public new TempModsErrorCode Code

UserAuthError

public class UserAuthError : Error
Field

UserAuthError None

UserAuthError None = new UserAuthError(UserAuthErrorCode.NONE)
Property

UserAuthErrorCode Code

public new UserAuthErrorCode Code

UserDataError

public class UserDataError : Error
Field

UserDataError None

UserDataError None = new UserDataError(UserDataErrorCode.NONE)
Property

UserDataErrorCode Code

public new UserDataErrorCode Code

ZlibError

public class ZlibError : Error
Field

ZlibError None

ZlibError None = new ZlibError(ZlibErrorCode.NONE)
Property

ZlibErrorCode Code

public new ZlibErrorCode Code

Enums

ApiErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
MODIO_OUTAGE = ErrorCode.MODIO_OUTAGE
CROSS_ORIGIN_FORBIDDEN = ErrorCode.CROSS_ORIGIN_FORBIDDEN
FAILED_TO_COMPLETE_THE_REQUEST = ErrorCode.FAILED_TO_COMPLETE_THE_REQUEST
INVALID_API_VERSION = ErrorCode.INVALID_API_VERSION
MISSING_APIKEY = ErrorCode.MISSING_APIKEY
MALFORMED_APIKEY = ErrorCode.MALFORMED_APIKEY
INVALID_APIKEY = ErrorCode.INVALID_APIKEY
MISSING_WRITE_PERMISSION = ErrorCode.MISSING_WRITE_PERMISSION
MISSING_READ_PERMISSION = ErrorCode.MISSING_READ_PERMISSION
EXPIRED_OR_REVOKED_ACCESS_TOKEN = ErrorCode.EXPIRED_OR_REVOKED_ACCESS_TOKEN
AUTHENTICATED_ACCOUNT_HAS_BEEN_DELETED = ErrorCode.AUTHENTICATED_ACCOUNT_HAS_BEEN_DELETED
BANNED_USER_ACCOUNT = ErrorCode.BANNED_USER_ACCOUNT
RATELIMITED = ErrorCode.RATELIMITED
RATELIMITED_SAME_ENDPOINT = ErrorCode.RATELIMITED_SAME_ENDPOINT
APIKEY_HAS_NO_GAME = ErrorCode.APIKEY_HAS_NO_GAME
APIKEY_FOR_TEST_ONLY = ErrorCode.APIKEY_FOR_TEST_ONLY
CANNOT_VERIFY_EXTERNAL_CREDENTIALS = ErrorCode.CANNOT_VERIFY_EXTERNAL_CREDENTIALS
USER_NO_ACCEPT_TERMS_OF_USE = ErrorCode.USER_NO_ACCEPT_TERMS_OF_USE
OPEN_IDNOT_CONFIGURED = ErrorCode.OPEN_IDNOT_CONFIGURED
BINARY_FILE_CORRUPTED = ErrorCode.BINARY_FILE_CORRUPTED
BINARY_FILE_UNREADABLE = ErrorCode.BINARY_FILE_UNREADABLE
INVALID_JSON = ErrorCode.INVALID_JSON
MISSING_CONTENT_TYPE_HEADER = ErrorCode.MISSING_CONTENT_TYPE_HEADER
UNSUPPORTED_CONTENT_TYPE_HEADER = ErrorCode.UNSUPPORTED_CONTENT_TYPE_HEADER
REQUESTED_INVALID_RESPONSE_FORMAT = ErrorCode.REQUESTED_INVALID_RESPONSE_FORMAT
VALIDATION_ERRORS = ErrorCode.VALIDATION_ERRORS
REQUESTED_RESOURCE_NOT_FOUND = ErrorCode.REQUESTED_RESOURCE_NOT_FOUND
REQUESTED_GAME_NOT_FOUND = ErrorCode.REQUESTED_GAME_NOT_FOUND
REQUESTED_GAME_DELETED = ErrorCode.REQUESTED_GAME_DELETED
FORBIDDEN_DMCA = ErrorCode.FORBIDDEN_DMCA
FORBIDDEN_HIDDEN = ErrorCode.FORBIDDEN_HIDDEN
ALREADY_UNSUBSCRIBED = ErrorCode.ALREADY_UNSUBSCRIBED
MODFILE_NO_UPLOAD_PERMISSION = ErrorCode.MODFILE_NO_UPLOAD_PERMISSION
REQUESTED_MODFILE_NOT_FOUND = ErrorCode.REQUESTED_MODFILE_NOT_FOUND
FORBIDDEN_TACNOT_ACCEPTED = ErrorCode.FORBIDDEN_TACNOT_ACCEPTED
FORBIDDEN_MISSING_FILE = ErrorCode.FORBIDDEN_MISSING_FILE
INSUFFICIENT_PERMISSION = ErrorCode.INSUFFICIENT_PERMISSION
REQUESTED_MOD_NOT_FOUND = ErrorCode.REQUESTED_MOD_NOT_FOUND
REQUESTED_MOD_DELETED = ErrorCode.REQUESTED_MOD_DELETED
REQUESTED_COMMENT_NOT_FOUND = ErrorCode.REQUESTED_COMMENT_NOT_FOUND
USER_EXISTING_MOD_RATING = ErrorCode.USER_EXISTING_MOD_RATING
SUBMIT_REPORT_RIGHTS_REVOKED = ErrorCode.SUBMIT_REPORT_RIGHTS_REVOKED
REPORTED_ENTITY_UNAVAILABLE = ErrorCode.REPORTED_ENTITY_UNAVAILABLE
MOD_MEDIA_NO_ADD_PERMISSION = ErrorCode.MOD_MEDIA_NO_ADD_PERMISSION
MOD_MEDIA_NO_DELETE_PERMISSION = ErrorCode.MOD_MEDIA_NO_DELETE_PERMISSION
USER_NO_MOD_RATING = ErrorCode.USER_NO_MOD_RATING
MATURE_MODS_NOT_ALLOWED = ErrorCode.MATURE_MODS_NOT_ALLOWED
MUTE_USER_NOT_FOUND = ErrorCode.MUTE_USER_NOT_FOUND
CANNOT_MUTE_YOURSELF = ErrorCode.CANNOT_MUTE_YOURSELF
REQUESTED_USER_NOT_FOUND = ErrorCode.REQUESTED_USER_NOT_FOUND
MONETIZATION_UNEXPECTED_ERROR = ErrorCode.MONETIZATION_UNEXPECTED_ERROR
MONETIZATION_UNABLE_TO_COMMUNICATE = ErrorCode.MONETIZATION_UNABLE_TO_COMMUNICATE
MONETIZATION_AUTHENTICATION = ErrorCode.MONETIZATION_AUTHENTICATION
MONETIZATION_WALLET_FETCH_FAILED = ErrorCode.MONETIZATION_WALLET_FETCH_FAILED
MONETIZATION_IN_MAINTENANCE = ErrorCode.MONETIZATION_IN_MAINTENANCE
MONETIZATION_GAME_MONETIZATION_NOT_ENABLED = ErrorCode.MONETIZATION_GAME_MONETIZATION_NOT_ENABLED
MONETIZATION_PAYMENT_FAILED = ErrorCode.MONETIZATION_PAYMENT_FAILED
MONETIZATION_ITEM_ALREADY_OWNED = ErrorCode.MONETIZATION_ITEM_ALREADY_OWNED
MONETIZATION_INCORRECT_DISPLAY_PRICE = ErrorCode.MONETIZATION_INCORRECT_DISPLAY_PRICE
MONETIZATION_TERMS_NOT_ACCEPTED = ErrorCode.MONETIZATION_TERMS_NOT_ACCEPTED
MONETIZATION_INSUFFICIENT_FUNDS = ErrorCode.MONETIZATION_INSUFFICIENT_FUNDS

ArchiveErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
INVALID_HEADER = ErrorCode.INVALID_HEADER
UNSUPPORTED_COMPRESSION = ErrorCode.UNSUPPORTED_COMPRESSION

ErrorCode
NONE
UNKNOWN = int.MinValue
API_NOT_INITIALIZED
HTTP_EXCEPTION
TERMS_OF_USE_NOT_INITIALIZED
NOT_INITIALIZED
HAS_NOT_ACCEPTED_TERMS_OF_USE
USER_NOT_AUTHENTICATED
USER_ALREADY_AUTHENTICATED
USER_AUTHENTICATION_IN_PROGRESS
NOT_SUBSCRIBED
NO_SEARCH
SEARCH_IN_PROGRESS
PAGE_NOT_SEARCHED
AT_FIRST_PAGE
NO_MORE_PAGES
CANNOT_CAST_NULL_TO_MOD_ID
INVALID_MOD_ID
MOD_TAGS_NOT_INITIALIZED
HTTP_NOT_INITIALIZED

HTTP service not initialized

HTTP_ALREADY_INITIALIZED

HTTP service already initialized

CANNOT_OPEN_CONNECTION

Unable to connect to server

INSUFFICIENT_PERMISSIONS

Insufficient permissions

SECURITY_CONFIGURATION_INVALID

Invalid platform HTTP security configuration

SERVER_UNAVAILABLE

Unable to connect to server

RESOURCE_NOT_AVAILABLE

Invalid endpoint path

EXCESSIVE_REDIRECTS

Exceeded the allowed number of redirects

SERVER_CLOSED_CONNECTION

Server closed connection unexpectedly

DOWNLOAD_NOT_PERMITTED

Trying to download file from outside of mod.io domain

SERVERS_OVERLOADED

The mod.io servers are overloaded. Please wait a bit before trying again

REQUEST_ERROR

An error occurred making a HTTP request

INVALID_RESPONSE

The HTTP response was malformed or not in the expected format

RATE_LIMITED

Too many requests made to the mod.io API within the rate-limiting window. Please wait and try again

UNABLE_TO_CREATE_FOLDER

Could not create folder

UNABLE_TO_CREATE_FILE

Could not create file

NO_PERMISSION

Insufficient permission for filesystem operation

FILE_LOCKED

File locked (already in use?)

FILE_NOT_FOUND

File not found

DIRECTORY_NOT_EMPTY

Directory not empty

READ_ERROR

Error reading file

WRITE_ERROR

Error writing file

DIRECTORY_NOT_FOUND

Directory not found

UNABLE_TO_INIT_STORAGE

Could not initialize user storage

STATUS_AUTH_TOKEN_MISSING

OAuth token was missing

STATUS_AUTH_TOKEN_INVALID

The user's OAuth token was invalid

NO_AUTH_TOKEN

No Auth token available

ALREADY_AUTHENTICATED

User is already authenticated. To use a new user and OAuth token, call ClearUserDataAsync

INVALID_USER

Invalid user

BLOB_MISSING

Some or all of the user data was missing from storage

INVALID_HEADER

File did not have a valid archive header

UNSUPPORTED_COMPRESSION

File uses an unsupported compression method. Please use STORE or DEFLATE

OPERATION_CANCELLED

The asynchronous operation was cancelled before it completed

OPERATION_ERROR

The asynchronous operation produced an error before it completed

COULD_NOT_CREATE_HANDLE

Operating system could not create the requested handle

NO_DATA_AVAILABLE

No data available

END_OF_FILE

End of file

QUEUE_CLOSED

Operation could not be started as the service queue was missing or destroyed

SDKALREADY_INITIALIZED

mod.io SDK was already initialized

SDKNOT_INITIALIZED

mod.io SDK was not initialized

INDEX_OUT_OF_RANGE

Index out of range

BAD_PARAMETER

Bad parameter supplied

SHUTTING_DOWN

mod.io SDK is shutting down, operation is cancelled

MISSING_COMPONENTS

mod.io SDK could not find required components

UNKNOWN_SYSTEM_ERROR

A low-level system error occured, refer to the logs for code and location

NEED_BUFFERS

Need more input data

END_OF_STREAM

End of deflate stream

STREAM_ERROR

Stream error

INVALID_BLOCK_TYPE

Invalid block type

INVALID_STORED_LENGTH

Invalid store block length

TOO_MANY_SYMBOLS

Too many symbols

INVALID_CODE_LENGTHS

Invalid code lengths

INVALID_BIT_LENGTH_REPEAT

Invalid bit length repeat

MISSING_EOB

Missing end-of-block marker

INVALID_LITERAL_LENGTH

Invalid literal length

INVALID_DISTANCE_CODE

Invalid distance code

INVALID_DISTANCE

Invalid distance

OVER_SUBSCRIBED_LENGTH

Over-subscribed length

INCOMPLETE_LENGTH_SET

Incomplete length set

NO_PENDING_WORK

Internal: No mods require processing for this iteration

INSTALL_OR_UPDATE_CANCELLED

The current mod installation or update was cancelled

MOD_MANAGEMENT_DISABLED

Could not perform operation: Mod management is disabled and mod collection is locked

MOD_MANAGEMENT_ALREADY_ENABLED

Mod management was already enabled and the callback remains unchanged.

UPLOAD_CANCELLED

The current modfile upload was cancelled

MOD_BEING_PROCESSED

The specified mod's files are currently being updated by the SDK. Please try again later.

TEMP_MOD_SET_NOT_INITIALIZED

Temporary mod set was not initialized. Please call InitTempModSet.

INCOMPATIBLE_DEPENDENCIES

The dependencies for this mod are incompatible with your version of the game. Please contact the mod creator for support.

NO_FILES_FOUND_FOR_MOD

Mod directory does not contain any files

MOD_DIRECTORY_NOT_FOUND

Mod directory does not exist

MD5DOES_NOT_MATCH

Mod MD5 does not match

CRCDOES_NOT_MATCH

File CRC does not match

DISPLAY_PRICE_INCORRECT

The display price for the mod was out-of-date or incorrect. Please retry with the correct display price.

MONETIZATION_AUTHENTICATION_FAILED

A failure has occured when trying to authenticate with the monetization system.

WALLET_FETCH_FAILED

Unable to fetch the account's wallet. Please confirm the account has one

GAME_MONETIZATION_NOT_ENABLED

The game does not have active monetization.

GAME_MONETIZATION_NOT_CONFIGURED

The game does not have properly configured monetization settings.

PAYMENT_FAILED

The payment transaction failed. Please try again later.

INCORRECT_DISPLAY_PRICE

The given display price does not match the price of the mod.

ITEM_ALREADY_OWNED

The account already owns this item.

INSUFFICIENT_FUNDS

The account has insufficent funds to make this purchase.

RETRY_ENTITLEMENTS

Some entitlements could not be verified. Please try again.

INVALID_METRICS_SECRET

The configured Metrics Secret Key is invalid.

CANT_INSTALL_TAINTED_MOD

A mod installation has previously failed, can't install all needed mods for this temporary mod session.

WSS_TIMEOUT
WSS_SERVICE_NOT_CONNECTED
WSS_FAILED_TO_SEND
WSS_FAILED_TO_DESERIALIZE
WSS_NOT_CONFIGURED
MISSING_MOUNT
MOUNT_LIMIT_EXCEEDED
INVALID_GAME_ID

The Game ID provided was invalid. Please confirm you have the correct Game ID from your mod.io dashboard, and that it is a positive integer.

MODIO_OUTAGE = 10000

mod.io is currently experiencing an outage. (rare)

CROSS_ORIGIN_FORBIDDEN = 10001

Cross-origin request forbidden.

FAILED_TO_COMPLETE_THE_REQUEST = 10002

mod.io failed to complete the request, please try again. (rare)

INVALID_API_VERSION = 10003

API version supplied is invalid.

MISSING_APIKEY = 11000

api_key is missing from your request.

MALFORMED_APIKEY = 11001

api_key supplied is malformed.

INVALID_APIKEY = 11002

api_key supplied is invalid.

MISSING_WRITE_PERMISSION = 11003

Access token is missing the write scope to perform the request.

MISSING_READ_PERMISSION = 11004

Access token is missing the read scope to perform the request.

EXPIRED_OR_REVOKED_ACCESS_TOKEN = 11005

Access token is expired, or has been revoked.

AUTHENTICATED_ACCOUNT_HAS_BEEN_DELETED = 11006

Authenticated user account has been deleted.

BANNED_USER_ACCOUNT = 11007

Authenticated user account has been banned by mod.io admins.

RATELIMITED = 11008

You have been ratelimited for making too many requests. See Rate Limiting.

RATELIMITED_SAME_ENDPOINT = 11009

You have been ratelimited from calling this endpoint again, for making too many requests. See Rate Limiting.

EMAIL_LOGIN_CODE_EXPIRED = 11012

Email login code has expired, please request a new one.

EMAIL_LOGIN_CODE_INVALID = 11014

Email login code is invalid

APIKEY_HAS_NO_GAME = 11016

The api_key supplied in the request must be associated with a game.

APIKEY_FOR_TEST_ONLY = 11017

The api_key supplied in the request is for test environment purposes only and cannot be used for this functionality.

STEAM_APP_TICKET_INVALID = 11018
CANNOT_VERIFY_EXTERNAL_CREDENTIALS = 11032

mod.io was unable to verify the credentials against the external service provider.

USER_NO_ACCEPT_TERMS_OF_USE = 11074

The user has not agreed to the mod.io Terms of Use. Please see terms_agreed parameter description and the Terms endpoint for more information.

USER_TARGET_BANNED = 11130

Targeted user is banned

USER_TARGET_DELETED = 11131

Targeted user has been deleted

USER_TARGET_ALREADY_FOLLOWED  = 11134

"The authenticated user already follows the user."

USER_TARGET_NOT_FOLLOWED  = 11135

"The authenticated user doesn't follow the user."

OPEN_IDNOT_CONFIGURED = 11086

You must configure your OpenID config for your game in your game authentication settings before being able to authenticate users.

BINARY_FILE_CORRUPTED = 13001

The submitted binary file is corrupted.

BINARY_FILE_UNREADABLE = 13002

The submitted binary file is unreadable.

INVALID_JSON = 13004

You have used the input_json parameter with semantically incorrect JSON.

MISSING_CONTENT_TYPE_HEADER = 13005

The Content-Type header is missing from your request.

UNSUPPORTED_CONTENT_TYPE_HEADER = 13006

The Content-Type header is not supported for this endpoint.

REQUESTED_INVALID_RESPONSE_FORMAT = 13007

You have requested a response format that is not supported (JSON only).

VALIDATION_ERRORS = 13009

The request contains validation errors for the data supplied. See the attached errors field within the Error Object to determine which input failed.

REQUESTED_RESOURCE_NOT_FOUND = 14000

The requested resource does not exist.

REQUESTED_GAME_NOT_FOUND = 14001

The requested game could not be found.

REQUESTED_GAME_DELETED = 14006

The requested game has been deleted.

FORBIDDEN_DMCA = 15000

This mod is currently under DMCA and the user cannot be subscribed to it.

FORBIDDEN_HIDDEN = 15001

This mod is hidden and the user cannot be subscribed to it.

ALREADY_SUBSCRIBED = 15004

The user is already subscribed to the specified resource

ALREADY_UNSUBSCRIBED = 15005

The authenticated user is not subscribed to the resource.

MODFILE_NO_UPLOAD_PERMISSION = 15006

The authenticated user does not have permission to upload modfiles for the specified mod. Ensure the user is a team manager or administrator.

REQUESTED_MODFILE_NOT_FOUND = 15010

The requested modfile could not be found.

FORBIDDEN_TACNOT_ACCEPTED = 15011

The item has not been accepted and can not be purchased at this time.

MOD_NO_UPDATE_PERMISSION = 15013

The authenticated user does not have permission to update this mod.

INSUFFICIENT_PERMISSION = 15019

The authenticated user does not have permission to delete this mod. This action is restricted to team managers and administrators only.

FORBIDDEN_MISSING_FILE = 15020

This mod is missing a file and cannot be subscribed to.

REQUESTED_MOD_NOT_FOUND = 15022

The requested mod could not be found.

REQUESTED_MOD_DELETED = 15023

The requested mod has been deleted.

REQUESTED_COMMENT_NOT_FOUND = 15026

The requested comment could not be found.

USER_EXISTING_MOD_RATING = 15028

The authenticated user has already submitted a rating for this mod.

SUBMIT_REPORT_RIGHTS_REVOKED = 15029

The authenticated user does not have permission to submit reports on mod.io due to their access being revoked.

REPORTED_ENTITY_UNAVAILABLE = 15030

The specified resource is not able to be reported at this time, this is potentially due to the resource in question being removed.

MOD_DEPENDENCIES_NO_ADD_PERMISSION = 15031

The authenticated user does not have permission to modify this resource.

MOD_DEPENDENCIES_NO_DELETE_PERMISSION = 15032

The authenticated user does not have permission to modify this resource.

USER_NO_MOD_RATING = 15043

The authenticated user cannot clear the mod rating as none exists.

MOD_MEDIA_NO_ADD_PERMISSION = 15035

The authenticated user does not have permission to modify this resource.

MOD_MEDIA_NO_DELETE_PERMISSION = 15036

The authenticated user does not have permission to modify this resource.

MATURE_MODS_NOT_ALLOWED = 15054

This game does not allow mature mods.

SUBSCRIBE_FAILED_SELF = 15091

The user cannot subscribe to self.

MUTE_USER_NOT_FOUND = 17000

The user with the supplied UserID could not be found.

CANNOT_MUTE_YOURSELF = 17039

You cannot mute yourself.

INSUFFICIENT_SPACE = 20442

Insufficient space for file

REQUESTED_USER_NOT_FOUND = 21000

The requested user could not be found.

MONETIZATION_UNEXPECTED_ERROR = 900000

An un expected error during a purchase transaction has occured. Please try again later.

MONETIZATION_UNABLE_TO_COMMUNICATE = 900001

Unable to communicate with the monetization system. Please try again later.

MONETIZATION_AUTHENTICATION = 900002

A failure has occured when trying to authenticate with the monetization system.

USER_MONETIZATION_NOT_CONFIGURED = 900007

The account has not been created with monetization.

MONETIZATION_WALLET_FETCH_FAILED = 900008

Unable to fetch the accounts' wallet. Please confirm the account has one

MONETIZATION_IN_MAINTENANCE = 900012

The monetization is currently in maintance mode. Please try again later.

USER_MONETIZATION_DISABLED = 900015

The account does not have monetization enabled.

MONETIZATION_GAME_MONETIZATION_NOT_ENABLED = 900022

The game does not have active monetization.

MONETIZATION_PAYMENT_FAILED = 900030

The payment transaction failed. Please try again later.

MONETIZATION_ITEM_ALREADY_OWNED = 900034

The account already owns this item.

MONETIZATION_INCORRECT_DISPLAY_PRICE = 900035

The given display price does not match the price of the mod.

MONETIZATION_TERMS_NOT_ACCEPTED = 900044

The user has not agreed to the mod.io Monetization Terms. Please see terms_agreed parameter description and the Terms endpoint for more information.

MONETIZATION_INSUFFICIENT_FUNDS = 900049

The account has insufficent funds to make this purchase.

MONETIZATION_ENTITLEMENT_MAPPING_NOT_FOUND = 900051

The mod does not have a SKU assigned for the given portal.

MONETIZATION_TRANSACTION_FINALIZE_FAILED  = 900055

The transaction could not be finalized due to an unexpected error. The mod will still be issued to the user at this point as the portal entitlement was consumed (an irreversible operation)

MONETIZATION_OUT_OF_STOCK = 900061

The mod that was attempting to be purchased has sold out. Only applicable if the Game and Mod have enabled limited.

MONETIZATION_TRANSACTION_CONSUME_FAILED = 900064

Creation of the payment intent or the consumption of the entitlement within the third party portal failed.

MONETIZATION_PORTAL_INVALID  = 900098

The provided portal is not a supported platform.


FilesystemErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
UNABLE_TO_CREATE_FOLDER = ErrorCode.UNABLE_TO_CREATE_FOLDER
UNABLE_TO_CREATE_FILE = ErrorCode.UNABLE_TO_CREATE_FILE
INSUFFICIENT_SPACE = ErrorCode.INSUFFICIENT_SPACE
NO_PERMISSION = ErrorCode.NO_PERMISSION
FILE_LOCKED = ErrorCode.FILE_LOCKED
FILE_NOT_FOUND = ErrorCode.FILE_NOT_FOUND
DIRECTORY_NOT_EMPTY = ErrorCode.DIRECTORY_NOT_EMPTY
READ_ERROR = ErrorCode.READ_ERROR
WRITE_ERROR = ErrorCode.WRITE_ERROR
DIRECTORY_NOT_FOUND = ErrorCode.DIRECTORY_NOT_FOUND

GenericErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
OPERATION_CANCELLED = ErrorCode.OPERATION_CANCELLED
OPERATION_ERROR = ErrorCode.OPERATION_ERROR
COULD_NOT_CREATE_HANDLE = ErrorCode.COULD_NOT_CREATE_HANDLE
NO_DATA_AVAILABLE = ErrorCode.NO_DATA_AVAILABLE
END_OF_FILE = ErrorCode.END_OF_FILE
QUEUE_CLOSED = ErrorCode.QUEUE_CLOSED
SDKALREADY_INITIALIZED = ErrorCode.SDKALREADY_INITIALIZED
SDKNOT_INITIALIZED = ErrorCode.SDKNOT_INITIALIZED
INDEX_OUT_OF_RANGE = ErrorCode.INDEX_OUT_OF_RANGE
BAD_PARAMETER = ErrorCode.BAD_PARAMETER
SHUTTING_DOWN = ErrorCode.SHUTTING_DOWN
MISSING_COMPONENTS = ErrorCode.MISSING_COMPONENTS

HttpErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
HTTP_NOT_INITIALIZED = ErrorCode.HTTP_NOT_INITIALIZED
HTTP_ALREADY_INITIALIZED = ErrorCode.HTTP_ALREADY_INITIALIZED
CANNOT_OPEN_CONNECTION = ErrorCode.CANNOT_OPEN_CONNECTION
INSUFFICIENT_PERMISSIONS = ErrorCode.INSUFFICIENT_PERMISSIONS
SECURITY_CONFIGURATION_INVALID = ErrorCode.SECURITY_CONFIGURATION_INVALID
SERVER_UNAVAILABLE = ErrorCode.SERVER_UNAVAILABLE
RESOURCE_NOT_AVAILABLE = ErrorCode.RESOURCE_NOT_AVAILABLE
EXCESSIVE_REDIRECTS = ErrorCode.EXCESSIVE_REDIRECTS
SERVER_CLOSED_CONNECTION = ErrorCode.SERVER_CLOSED_CONNECTION
DOWNLOAD_NOT_PERMITTED = ErrorCode.DOWNLOAD_NOT_PERMITTED
SERVERS_OVERLOADED = ErrorCode.SERVERS_OVERLOADED
REQUEST_ERROR = ErrorCode.REQUEST_ERROR
INVALID_RESPONSE = ErrorCode.INVALID_RESPONSE
RATE_LIMITED = ErrorCode.RATE_LIMITED

MetricsErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
INVALID_METRICS_SECRET = ErrorCode.INVALID_METRICS_SECRET

ModManagementErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
ALREADY_SUBSCRIBED = ErrorCode.ALREADY_SUBSCRIBED
NO_PENDING_WORK = ErrorCode.NO_PENDING_WORK
INSTALL_OR_UPDATE_CANCELLED = ErrorCode.INSTALL_OR_UPDATE_CANCELLED
MOD_MANAGEMENT_DISABLED = ErrorCode.MOD_MANAGEMENT_DISABLED
MOD_MANAGEMENT_ALREADY_ENABLED = ErrorCode.MOD_MANAGEMENT_ALREADY_ENABLED
UPLOAD_CANCELLED = ErrorCode.UPLOAD_CANCELLED
MOD_BEING_PROCESSED = ErrorCode.MOD_BEING_PROCESSED
TEMP_MOD_SET_NOT_INITIALIZED = ErrorCode.TEMP_MOD_SET_NOT_INITIALIZED
INCOMPATIBLE_DEPENDENCIES = ErrorCode.INCOMPATIBLE_DEPENDENCIES

ModValidationErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
NO_FILES_FOUND_FOR_MOD = ErrorCode.NO_FILES_FOUND_FOR_MOD
MOD_DIRECTORY_NOT_FOUND = ErrorCode.MOD_DIRECTORY_NOT_FOUND
MD5DOES_NOT_MATCH = ErrorCode.MD5DOES_NOT_MATCH

MonetizationErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
DISPLAY_PRICE_INCORRECT = ErrorCode.DISPLAY_PRICE_INCORRECT
MONETIZATION_AUTHENTICATION_FAILED = ErrorCode.MONETIZATION_AUTHENTICATION_FAILED
WALLET_FETCH_FAILED = ErrorCode.WALLET_FETCH_FAILED
USER_MONETIZATION_NOT_CONFIGURED = ErrorCode.USER_MONETIZATION_NOT_CONFIGURED
USER_MONETIZATION_DISABLED = ErrorCode.USER_MONETIZATION_DISABLED
GAME_MONETIZATION_NOT_ENABLED = ErrorCode.GAME_MONETIZATION_NOT_ENABLED
GAME_MONETIZATION_NOT_CONFIGURED = ErrorCode.GAME_MONETIZATION_NOT_CONFIGURED
PAYMENT_FAILED = ErrorCode.PAYMENT_FAILED
INCORRECT_DISPLAY_PRICE = ErrorCode.INCORRECT_DISPLAY_PRICE
ITEM_ALREADY_OWNED = ErrorCode.ITEM_ALREADY_OWNED
INSUFFICIENT_FUNDS = ErrorCode.INSUFFICIENT_FUNDS
RETRY_ENTITLEMENTS = ErrorCode.RETRY_ENTITLEMENTS

RateLimitErrorCode
RATELIMITED = ErrorCode.RATELIMITED
RATELIMITED_SAME_ENDPOINT = 11009

SystemErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
UNKNOWN_SYSTEM_ERROR = ErrorCode.UNKNOWN_SYSTEM_ERROR

TempModsErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
CANT_INSTALL_TAINTED_MOD = ErrorCode.CANT_INSTALL_TAINTED_MOD

UserAuthErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
UNABLE_TO_INIT_STORAGE = ErrorCode.UNABLE_TO_INIT_STORAGE
STATUS_AUTH_TOKEN_MISSING = ErrorCode.STATUS_AUTH_TOKEN_MISSING
STATUS_AUTH_TOKEN_INVALID = ErrorCode.STATUS_AUTH_TOKEN_INVALID
NO_AUTH_TOKEN = ErrorCode.NO_AUTH_TOKEN
ALREADY_AUTHENTICATED = ErrorCode.ALREADY_AUTHENTICATED
EMAIL_LOGIN_CODE_EXPIRED = ErrorCode.EMAIL_LOGIN_CODE_EXPIRED
EMAIL_LOGIN_CODE_INVALID = ErrorCode.EMAIL_LOGIN_CODE_INVALID

UserDataErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
INVALID_USER = ErrorCode.INVALID_USER
BLOB_MISSING = ErrorCode.BLOB_MISSING

ZlibErrorCode
NONE = ErrorCode.NONE
UNKNOWN = ErrorCode.UNKNOWN
NEED_BUFFERS = ErrorCode.NEED_BUFFERS
END_OF_STREAM = ErrorCode.END_OF_STREAM
STREAM_ERROR = ErrorCode.STREAM_ERROR
INVALID_BLOCK_TYPE = ErrorCode.INVALID_BLOCK_TYPE
INVALID_STORED_LENGTH = ErrorCode.INVALID_STORED_LENGTH
TOO_MANY_SYMBOLS = ErrorCode.TOO_MANY_SYMBOLS
INVALID_CODE_LENGTHS = ErrorCode.INVALID_CODE_LENGTHS
INVALID_BIT_LENGTH_REPEAT = ErrorCode.INVALID_BIT_LENGTH_REPEAT
MISSING_EOB = ErrorCode.MISSING_EOB
INVALID_LITERAL_LENGTH = ErrorCode.INVALID_LITERAL_LENGTH
INVALID_DISTANCE_CODE = ErrorCode.INVALID_DISTANCE_CODE
INVALID_DISTANCE = ErrorCode.INVALID_DISTANCE
OVER_SUBSCRIBED_LENGTH = ErrorCode.OVER_SUBSCRIBED_LENGTH
INCOMPLETE_LENGTH_SET = ErrorCode.INCOMPLETE_LENGTH_SET