tencent cloud

Feedback

iOS Error Codes

Last updated: 2024-11-21 18:06:21

Error codes for opening mini program

Returns error code description
// Initialization information is incorrect or not initialized
TMAMiniAppErrorConfigInitError = -21000,

// The networkerror
TMAMiniAppErrorNetworkError = -21001,

// The server returns an error code
TMAMiniAppErrorResponseCodeError= -21002,

// The server returns an empty response
TMAMiniAppErrorResponseDataNull = -21003,

// The mini program version does not exist
TMAMiniAppErrorVersionNotExist= -21005,

// The mini program has been removed from the shelves
TMAMiniAppErrorForbidden= -21006,

//The frequency of specific interface calls is too high
TMAMiniAppCmdIDRequestFrequent = -21011,

//Interface calls are too frequent
TMAMiniAppRequestFrequent = -21012,

// Unsupported link
TMAMiniAppErrorErrorLink = -21101,

// TCMPPExtScanCode extension library not integrated
// Unsupported link
TMAMiniAppErrorNoScanCodeSDK= -21102,

// delegate is not implemented
TMAMiniAppErrorNotImplemented = -21103,

// Mini program base library download failed
TMAMiniAppErrorJSSDKDownloadFail= -22001,

// Mini program base library decompression failed
TMAMiniAppErrorJSSDKUnzipFail = -22002,

// Mini program base library does not need to be upgraded
TMAMiniAppErrorJSSDKNeedUpgrade = -22003,

// Mini program basic library verification failed
TMAMiniAppErrorJSSDKVerifyFail= -22004,

TMAMiniAppErrorResponseInvalid= -22010,

// UnPack mini program Apkg package failed
TMAMiniAppErrorUnpackApkgFail = -22011,

TMAMiniAppErrorConsistencyInvalid = -22012,

TMAMiniAppErrorHTTPStatusInvalid= -22013,

// The download storage path of the mini program Apkg package is wrong
TMAMiniAppErrorCreatePathFail = -22014,

// The download storage path of the mini program Apkg package is wrong
TMAMiniAppErrorValidateFileFail = -22015,

// The device system does not support mini programs
TMAMiniAppErrorSystemNotSupport = -22017,

// AppInfo error when starting the mini program
TMAMiniAppErrorAppInfoError = -22018,

// The mini program is already being displayed
TMAMiniAppErrorMiniAppIsShowing = -22019,

// The mini program view is an invalid view
TMAMiniAppErrorParentVCInvalid= -22020,

// Application error when starting the mini program
TMAMiniAppErrorApplicationError = -22021,

// The agent for starting the mini program is not implemented

TMAMiniAppErrorDelegateError= -22022,
TMAMiniAppErrorNilApplication = -22023,
TMAMiniAppErrorUserNotLoggedIn= -22024,
TMAMiniAppErrorFlutterResourceInvalid = -22025,

// An exception occurs when the mini program reads the resource file (for example, the mini game cannot read game.json)
TMAMiniAppErrorReadPackageFail= -22027,

// Download file md5 verification failed
TMAMiniAppErrorFileMd5VerifyFail = -22029,

// Failed to copy domain name configuration file to target location
TMAMiniAppErrorFCopyDomainsFileFail = -22030,

// MAWebView white screen error
TMAMiniAppErrorWebViewNoCompositingView = -23001,
TMAMiniAppErrorWebViewJSError = -23002,
TMAMiniAppErrorWebViewDidTerminate= -23003,
TMAMiniAppErrorWebViewScriptAgainError= -23004,
TMAMiniAppErrorWebViewPageNotFound= -23005,
TMAMiniAppErrorWebViewApplicationNotFound = -23006,

TMAMiniAppErrorHotlaunchParamInvalid= -23007,
TMAMiniAppErrorWebViewRenderBlank = -23008,

// No available cloud resources to use
TMAMiniAppErrorResourceLimited = -25001,
TMAMiniAppErrorResourceOverflow = -25002

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support