Error codes: Difference between revisions

No edit summary
No edit summary
 
(17 intermediate revisions by 8 users not shown)
Line 17: Line 17:
| 27-31
| 27-31
| Level
| Level
|}
For the description field, codes in range 1000(?)~1023 is common to all modules, while codes outside this range are defined independently by each module.
Description ranges: (some if not all of these could be specifically for fs-module)
{| class="wikitable" border="1"
|-
!  Num
!  Description
|-
| 100-179
| Not found
|-
| 130-179 (subset of previous)
| Media not found
|-
| 180-199
| Exists already
|-
| 200-219
| Not enough space
|-
| 220-229
| Invalidated archive
|-
| 230-339
| Unacceptable
|-
| 260-279 (subset of previous)
| Write protected
|-
| 360-389
| Bad format
|-
| 390-399
| Verification failure
|-
| 600-629
| Out of resources
|-
| 630-660
| Access denied
|-
| 700-729
| Invalid argument
|-
| 730-749
| Not initialized
|-
| 750-759
| Already initialized
|-
| 760-779
| Not supported
|}
|}


Line 28: Line 83:
| 0
| 0
| Success
| Success
|-
| 2
| Invalid memory permissions (kernel)
|-
| 4
| Invalid ticket version (AM)
|-
| 5
| Invalid string length. This error is returned when service name length is greater than 8 or zero. (srv)
|-
| 6
| Access denied. This error is returned when you request a service that you don't have access to. (srv)
|-
| 7
| String size does not match string contents. This error is returned when service name contains an unexpected null byte. (srv)
|-
| 8
| Camera already in use/busy (qtm).
|-
|-
| 10
| 10
Line 34: Line 107:
| 26
| 26
| Session closed by remote (os)
| Session closed by remote (os)
|-
| 32
| Empty CIA? (AM)
|-
| 37
| Invalid NCCH? (AM)
|-
| 39
| Invalid title version (AM)
|-
| 43
| Database doesn't exist/failed to open (AM)
|-
| 44
| Trying to uninstall system-app (AM)
|-
| 47
| Invalid command header (OS)
|-
| 101
| Archive not mounted/mount-point not found (fs)
|-
| 105
| Request timed out (http)
|-
| 106
| Invalid signature/CIA? (AM)
|-
| 120
| Title/object not found? (fs)
|-
| 141
| Gamecard not inserted? (fs)
|-
| 230
| Invalid open-flags / permissions? (fs)
|-
| 271
| Invalid configuration (mvd).
|-
| 391
| NCCH hash-check failed? (fs)
|-
| 392
| RSA/AES-MAC verification failed? (fs)
|-
| 393
| Invalid database? (AM)
|-
| 395
| RomFS/Savedata hash-check failed? (fs)
|-
| 630
| Command not allowed / missing permissions? (fs)
|-
| 702
| Invalid path? (fs)
|-
| 761
| Incorrect read-size for ExeFS? (fs)
|-
|-
| 1000
| 1000
| Invalid section
| Invalid selection
|-
|-
| 1001
| 1001
Line 106: Line 239:
| 1023
| 1023
| Invalid result value
| Invalid result value
|-
| 1026
| Invalid memory permissions (kernel)
|-
| 1029
| String too big? This error is returned when service name length is greater than 8. (srv)
|-
| 1030
| Access denied? This error is returned when you request a service that you don't have access to. (srv)
|-
| 1031
| String too small? This error is returned when service name contains an unexpected null byte. (srv)
|-
| 1144
| Title/object not found? (fs)
|-
| 1165
| Gamecard not inserted? (fs)
|-
| 1254
| Invalid open-flags / permissions? (fs)
|-
| 1415
| NCCH hash-check failed? (fs)
|-
| 1416
| RSA/AES-MAC verification failed? (fs)
|-
| 1419
| RomFS hash-check failed? (fs)
|-
| 1654
| Command not allowed / missing permissions? (fs)
|-
| 1726
| Invalid path? (fs)
|-
| 1785
| Incorrect read-size? (fs)
|-
| 2033
| Misaligned addr? (kernel)
|-
| 2039
| Invalid handle (kernel)
|}
|}


Line 236: Line 324:
|-
|-
| 10
| 10
| GX
| GSP
|-
|-
| 11
| 11
Line 443: Line 531:
|-
|-
| 79
| 79
| RO
| Web Browser
|-
|-
| 80
| 80
| Web Browser
| Test
|-
|-
| 81
| 81
| Test
| ENC
|-
|-
| 82
| 82
| ENC
| PIA
|-
|-
| 83
| 83
| PIA
| ACT
|-
| 84
| VCTL
|-
| 85
| OLV
|-
| 86
| NEIA
|-
| 87
| NPNS
|-
| 90
| AVD
|-
| 91
| L2B
|-
| 92
| MVD
|-
| 93
| NFC
|-
| 94
| UART
|-
| 95
| SPM
|-
| 96
| QTM
|-
| 97
| NFP (amiibo)
|-
|-
| 254
| 254