Error codes

From Vita Development Wiki
Revision as of 19:11, 15 November 2022 by CreepNT (talk | contribs) (→‎Format: Add a lot of known format codes, reword explanation)
Jump to navigation Jump to search

Format

This format also applies to SceUID.

Bit 31: Error bit
 - 1 = Error   (Bits 30-0 follow the format described below)
 - 0 = Success (The meaning of bits 30-0 is unspecified)

Bit 30: Error criticality (Critical bit)
 - 1 = Fatal error
 - 0 = Normal error

Bits 29-28: Reserved
 - 00: Always fixed to zero

Bits 27-16: Facility
 - 0x000 = Reserved
 - 0x001 = SCE_ERROR_FACILITY_ERRNO
 - 0x002 = SCE_ERROR_FACILITY_KERNEL
 - 0x003 = SCE_ERROR_FACILITY_KERNEL_EXT
 - 0x004 = SCE_ERROR_FACILITY_KERNEL_S
 - 0x005 = SCE_ERROR_FACILITY_KERNEL_SEXT
 - 0x006 = SCE_ERROR_FACILITY_KERNEL_B
 - 0x007 = SCE_ERROR_FACILITY_KERNEL_BEXT
 - 0x008 = SCE_ERROR_FACILITY_DECI_USR
 - 0x009 = SCE_ERROR_FACILITY_DECI_SYS
 - 0x00A = SCE_ERROR_FACILITY_COREDUMP
 - 0x00C = SCE_ERROR_FACILITY_REGISTRY
 - 0x00F = SCE_ERROR_FACILITY_SBL
 - 0x010 = SCE_ERROR_FACILITY_VSH
 - 0x011 = SCE_ERROR_FACILITY_UTILITY
 - 0x012 = SCE_ERROR_FACILITY_SYSFILE
 - 0x013 = SCE_ERROR_FACILITY_MSAPP
 - 0x014 = SCE_ERROR_FACILITY_PFS
 - 0x018-0x01F = reserved for updater
 - 0x018 = SCE_ERROR_FACILITY_UPDATER
 - 0x01F = SCE_ERROR_FACILITY_UPDATER_RSV
 - 0x020 = SCE_ERROR_FACILITY_SHAREDFB
 - 0x022 = SCE_ERROR_FACILITY_MEMSTICK
 - 0x024 = SCE_ERROR_FACILITY_USB
 - 0x025 = SCE_ERROR_FACILITY_SYSCON
 - 0x026 = SCE_ERROR_FACILITY_AUDIO
 - 0x027 = SCE_ERROR_FACILITY_LFLASH
 - 0x028 = SCE_ERROR_FACILITY_LFATFS
 - 0x029 = SCE_ERROR_FACILITY_DISPLAY
 - 0x02B = SCE_ERROR_FACILITY_POWER
 - 0x02C = SCE_ERROR_FACILITY_AUDIOROUTING
 - 0x02D = SCE_ERROR_FACILITY_MEDIASYNC
 - 0x02E = SCE_ERROR_FACILITY_CAMERA
 - 0x034 = SCE_ERROR_FACILITY_CTRL
 - 0x035 = SCE_ERROR_FACILITY_TOUCH
 - 0x036 = SCE_ERROR_FACILITY_MOTION
 - 0x03F = SCE_ERROR_FACILITY_PERIPH
 - 0x041 = SCE_ERROR_FACILITY_NETWORK
 - 0x042 = SCE_ERROR_FACILITY_SAS
 - 0x043 = SCE_ERROR_FACILITY_HTTP
 - 0x044 = SCE_ERROR_FACILITY_WAVE
 - 0x045 = SCE_ERROR_FACILITY_SND
 - 0x046 = SCE_ERROR_FACILITY_FONT
 - 0x047 = SCE_ERROR_FACILITY_P3DA
 - 0x048 = SCE_ERROR_FACILITY_HASH
 - 0x049 = SCE_ERROR_FACILITY_PRNG
 - 0x04A = SCE_ERROR_FACILITY_NGS
 - 0x04B = SCE_ERROR_FACILITY_ECHO
 - 0x04C = SCE_ERROR_FACILITY_GPU
 - 0x04D = SCE_ERROR_FACILITY_SUPLHA
 - 0x04E = SCE_ERROR_FACILITY_VOICE
 - 0x04F = SCE_ERROR_FACILITY_HEAP
 - 0x052 = SCE_ERROR_FACILITY_OPENPSID
 - 0x053 = SCE_ERROR_FACILITY_DNAS
 - 0x054 = SCE_ERROR_FACILITY_MTP
 - 0x055 = SCE_ERROR_FACILITY_NP
 - 0x056 = SCE_ERROR_FACILITY_COMPRESSION
 - 0x057 = SCE_ERROR_FACILITY_DBGFONT
 - 0x058 = SCE_ERROR_FACILITY_PERF
 - 0x059 = SCE_ERROR_FACILITY_FIBER
 - 0x05A = SCE_ERROR_FACILITY_SYSMODULE
 - 0x05B = SCE_ERROR_FACILITY_GXM
 - 0x05C = SCE_ERROR_FACILITY_CES
 - 0x05D = SCE_ERROR_FACILITY_GXT
 - 0x05F = SCE_ERROR_FACILITY_LIBRARY
 - 0x060 = SCE_ERROR_FACILITY_CODECENGINE
 - 0x061 = SCE_ERROR_FACILITY_MPEG
 - 0x062 = SCE_ERROR_FACILITY_AVC
 - 0x063 = SCE_ERROR_FACILITY_ATRAC
 - 0x064 = SCE_ERROR_FACILITY_ASF
 - 0x065 = SCE_ERROR_FACILITY_JPEG
 - 0x066 = SCE_ERROR_FACILITY_AVI
 - 0x067 = SCE_ERROR_FACILITY_MP3
 - 0x068 = SCE_ERROR_FACILITY_G729
 - 0x069 = SCE_ERROR_FACILITY_PNG
 - 0x06A = SCE_ERROR_FACILITY_AVPLAYER
 - 0x06B = SCE_ERROR_FACILITY_AACENC
 - 0x077 = SCE_ERROR_FACILITY_RUDP
 - 0x07F = SCE_ERROR_FACILITY_CODEC
 - 0x080 = SCE_ERROR_FACILITY_APPMGR
 - 0x081 = SCE_ERROR_FACILITY_ULT
 - 0x082 = SCE_ERROR_FACILITY_FIOS
 - 0x083 = SCE_ERROR_FACILITY_BASE64
 - 0x084 = SCE_ERROR_FACILITY_INIFILE
 - 0x085 = SCE_ERROR_FACILITY_XML
 - 0x086 = SCE_ERROR_FACILITY_AUDIOENC
 - 0x087 = SCE_ERROR_FACILITY_NPDRM
 - 0x088 = SCE_ERROR_FACILITY_PHYSICSEFFECTS
 - 0x089 = SCE_ERROR_FACILITY_SYSTEM_GESTURE
 - 0x08B = SCE_ERROR_FACILITY_FACE
 - 0x08C = SCE_ERROR_FACILITY_SMART
 - 0x090 = SCE_ERROR_FACILITY_SAMPLE_UTILITY
 - 0x091 = SCE_ERROR_FACILITY_NGS_QUICK_SYNTH
 - 0x092 = SCE_ERROR_FACILITY_JSON
 - 0x0EE-0x0EF = reserved for diag test
 - 0x0F0-0x0FF = reserved
 - 0x100 = SCE_ERROR_FACILITY_SCREAM
 - 0x101-0xFFF = reserved

Bits 15-0: Error code
    - The specific meaning varies depending on the facility code. Even if the error code value is the same, if the facility code is different, the meaning of the error code can vary.

0x800FXXXX

These are Secure Block error codes.

Name Hex Error code Remarks
SCE_SBL_ERROR_COMMON_ESTACK (?) 0x800f0029 C1-6432-5 sceSblAuthMgrSetupAuthSegmentForKernel / sceSblAuthMgrAuthSegmentForKernel: Returned after a failed sceSblAuthMgrAuthHeaderForKernel (?)
SCE_SBL_ERROR_AM_EINVAL 0x800f0516 C1-6703-6 If modulemgr tried to decrypt the segment and decompress it, but an error occurred. Or an error coming from SceSblAuthMgr with low probability
SCE_SBL_ERROR_DEVACT_EINVAL (?) 0x800f0616 C1-6761-0 sceSblAuthMgrAuthHeaderForKernel: FW version mismatch (?)
SCE_SBL_ERROR_AUTHMGR_ENOTINITIALIZED (?) 0x800f0b32 C1-7079-3 sceSblAuthMgrAuthHeaderForKernel: Invalid Media Type
unknown 0x800F0B33 C1-7080-5 Required system flags or inhibited system flags.
unknown 0x800F0B35 ? Some self attr/caps failed in syscall 6.

0x8010XXXX

These are Vsh error codes.

Name Hex Error code Remarks
- 0x801000XX - SceBemp2sys error code
- 0x801001XX - -
- 0x801002XX - -
- 0x801003XX - -
- 0x801004XX - -
- 0x801005XX - -
- 0x801006XX - SceAppUtil/SceAppUtilExt error code
- 0x801007XX - SceIme error code
- 0x801008XX - SceAppSettings error code
- 0x801009XX - -
- 0x80100AXX - -
- 0x80100BXX - -
- 0x80100CXX - -
- 0x80100DXX - -
- 0x80100EXX - -
- 0x80100FXX - -
- 0x801010XX - SceActivityDb/SceLsdb error code
- 0x801011XX - -
- 0x801012XX - SceLibLocation/SceLibLocationExtension error code
- 0x801013XX - -
- 0x801014XX - -
- 0x801015XX - -
- 0x801016XX - SceImpl error code
- 0x801017XX - SceImpl error code
- 0x801018XX - SceShellUtil error code
- 0x801019XX - -
- 0x80101AXX - ScePhotoExport error code
- 0x80101BXX - -
- 0x80101CXX - -
- 0x80101DXX - -
- 0x80101EXX - -
- 0x80101FXX - -
- 0x801028XX - SceTelInitialCheck error code
- 0x80102AXX - SceTelInitialCheck error code
- 0x80102FXX - SceScreenShot error code
- 0x801031XX - SceDbutil error code
- 0x801034XX - SceAvContentHandler error code
- 0x801036XX - SceTriggerUtil error code
- 0x80103AXX - SceLibGameUpdate error code?
- 0x80103BXX - SceLibGameUpdate error code?
- 0x801040XX - SceLiveAreaUtil error code
- 0x801046XX - SceClipboard error code
- 0x801048XX - SceGameDataPlugin error code
- 0x801049XX - SceNearUtil error code
- 0x801052XX - SceShutterSound error code
- 0x801053XX - SceMusicExport error code
- 0x801054XX - SceVideoExport error code
- 0x801055XX - SceNearProfile error code
- 0x801056XX - SceHandwriting error code
- 0x801057XX - SceContentOperation error code
- 0x80105CXX - SceBackupRestore error code
- 0x80105DXX - SceDbSetup error code
- 0x80105EXX - SceDbRecovery error code
- 0x80105FXX - SceIduUpdate error code
- 0x801063XX - SceNotificationUtil error code
- 0x801065XX - SceBgAppUtil error code
- 0x80106AXX - SceEmailEngine error code
- 0x801077XX - SceDtcpIp error code
- 0x801078XX - -
- 0x801079XX - -
- 0x80107AXX - SceVideoSearchEmpr error code
- 0x80107BXX - -
- 0x80107CXX - -
- 0x80107DXX - -
- 0x80107EXX - SceNearDialogUtil error code
- 0x80107FXX - mail_api_for_local/mail_api_for_local_libc error code
- 0x801080XX - -
- 0x801081XX - SceOnlineStoragePlugin error code
- 0x801082XX - -
- 0x801083XX - SceLibMp4Recorder error code
- 0x801084XX - SceTeleportServer/SceTeleportClient error code
- 0x801085XX - SceGameCardInstallerPlugin error code

0x8087XXXX

These are NpDrm error codes.

Name Hex Error code Remarks
unknown 0x80870009 C0-9255-1 Doesn't matching to device OpenPsid and act.dat/.rif OpenPsid