Error codes

From Vita Development Wiki
Jump to navigation Jump to search

Format

bit 31: Whether there is an error
    - 1= error(Bits 30-0 follow the definition below)
    - 0= success(Definition of bits 30-0 is free)

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

bit 29,28: Reserved
    - 00= Always fixed to zero

bit 27-16: Facility
    - 0x000= Reserved
    - 0x001= SCE_ERROR_FACILITY_ERRNO
    - 0x002= SCE_ERROR_FACILITY_KERNEL

bit 15-0: Error code
    - The specific meaning depends on the facility code.
    - Even if the error code value is the same, but the facility code is different
    - Please note that it is treated as a separate error number.

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
- 0x801006XX - SceAppUtil/SceAppUtilExt error code
- 0x801007XX - SceIme error code
- 0x801010XX - SceActivityDb error code
- 0x801018XX - SceShellUtil error code
- 0x801031XX - SceDbutil error code
- 0x80103AXX - SceLibGameUpdate error code?
- 0x80103BXX - SceLibGameUpdate error code?
- 0x801046XX - SceClipboard error code
- 0x801056XX - SceHandwriting error code
- 0x801065XX - SceBgAppUtil 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