Status codes provide extra information when a request is made to the MTAPI. The response code will be provided when a request has been successfully completed.
...
Response Headers
{
"cache-control": "no-cache",
"content-length": "123",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 20 Apr 2021 11:28:03 GMT",
"expires": "-1",
"mtapistatus": "-1",
"pragma": "no-cache",
"server": "Microsoft-IIS/8.5",
"x-aspnet-version": "4.0.30319",
"x-powered-by": "ASP.NET"
}
...
Operation you performed came across internal error, if you keep seeing error contact your lead or support
InternalError = 901000Error in MTAPI service setting, contact MTAPI team to get it resolved
MtapiSettingError = 901001Operation you tried to perform came across argument related error - such as missing argument or invalid value
ArgumentError = 901002An operation cannot be performed because it requires users to be enrolled in a service
EnrollmentInServiceRequired = 901003Must be a valid province
NoServiceWithReadUserPermission InvalidProvince = 901008901004In a filter, at least one value is invalid. For further details, refer documentation of an operation where this error occur or contact MTAPI team
InvalidValueInFilter = 901005Authorization error
AuthorizationError = 901006CurrentUserId does not belong to a real application user
UserIdNotBelongingToApplication = 901005Authorization error
AuthorizationError = 901006ApplicationName is not available
ApplicationNameNotAvailable = 901006Request context is not available
RequestContextNotAvailable = 901007User is not enrolled in any service with read user permission
NoServiceWithReadUserPermission = 901008
...