NIM Services: Difference between revisions

Luigoalma (talk | contribs)
Autodbg information
Luigoalma (talk | contribs)
Add some extent of error codes. More to add later from reversal work.
Line 660: Line 660:
| 5
| 5
| Skip NPNS notification fetch for auto title downloads with a false success result
| Skip NPNS notification fetch for auto title downloads with a false success result
|}
=Error Results=
==NIM Results==
{| class="wikitable" border="1"
|-
!  Result
!  Description
|-
| 0xD8600801
| Non-null terminated string on IPC parameter or failure to encode base64 for X-Authentication-Key or X-Authentication-Data HTTP parameters.
|-
| 0xD960D004
| Unexpected/invalid state enums. (generic)
|-
| 0xC820D005
| Invalid state under one managed title install manager.
|-
| 0xD8A0D006
| Error state enum value. (generic)
|-
| 0xC920D009
| Mismatch system title hash with server system title hash.
|-
| 0xC860D00E
| Max total size exceeded for system update pending titles. (128 MiB)
|-
| 0xC8E0D011
| Bad condition, title id for purpose or size under one managed title install manager.
|-
| 0xC8A0D027
| This occurs under certain code paths.
<ol>
<li>Result translation of result error from:</li>
<ul><li>HTTP module</li></ul>
<ul><li>SSL module</li></ul>
<ul><li>NIM module if description is between 100 to 299 (inclusive)</li></ul>
<li>Unexpected HTTP status, followed up also by generating error integer with 54400 + http status, result value used as a 005-xxxx error</li>
</ol>
|-
| 0xD960D02E
| During tsl.xml task condition check. Still unclear, type of task check
|-
| 0xD960D030
| During tsl.xml task condition check. Ticket missing for title when expected. Will not occur with autodbg flag bit 4 set.
|-
| 0xD960D031
| During tsl.xml task condition check. Title already installed when not overwrite mode.
|-
| 0xD960D032
| During tsl.xml task condition check. Task for title already exists with same or higher version in task.dat.
|-
| 0xD960D033
| During tsl.xml task condition check. Task for title already exists in task.dat.
|-
| 0xD8E0D034
| During tsl.xml task condition check. Unexpected task title type.
|-
| 0xD960D035
| During tsl.xml task condition check. Tsl.xml task will not be processed while max programmed maximum for tasks pending in task.dat is equal or exceeded. (10)
|-
| 0xD960D037
| Failed to load saved dtl.xml with result error of FS with description between 100 and 179, inclusive.
|-
| 0xD960D038
| During tsl.xml task condition check. Not enough space for target SDMC user title.
|-
| 0xD8A0D03D
| During tsl.xml task condition check. SDMC not inserted or non-writable for SDMC title. (bad media status)
|-
| 0xD960D03E
| During tsl.xml task condition check. Not enough space for target TWL user title.
|-
| 0xD940D040
| NIM ran into NPNS result 0xD8A15C07. Result translation.
|-
| 0xD860D041
| During tsl.xml task condition check. Pending task count of task.dat and installed SDMC user title count exceed programmed max. (300)
|-
| 0xD860D042
| During tsl.xml task condition check. Pending task count of task.dat and installed TWL user title count exceed programmed max. (40)
|-
| 0xD880D043
| HTTP 404 while fetching title crypto seed from kagiya.
|-
| 0xD880D044
| HTTP 503 while fetching title crypto seed from kagiya.
|}
==NPNS Results==
NPNS has a module number for results, but no module exists, but can be at least in part found inside NIM.
{| class="wikitable" border="1"
|-
!  Result
!  Description
|-
| 0xD8615C01
| Allocation error, insufficient memory.
|-
| 0xD8A15C02
| HTTP non 2xx, json message processing, default error code switch result error.
|-
| 0xD8A15C03
| JSON processing errors.
|-
| 0xD8A15C04
| Notifications array bigger than expected.
|-
| 0xD8A15C05
| HTTP Empty body response.
|-
| 0xD8A15C06
| HTTP non 2xx, json message processing, error code 1003 given in json body.
|-
| 0xD8A15C07
| HTTP non 2xx, json message processing, error code 1000 given in json body.
|-
| 0xD8A15C08
| HTTP non 2xx, json message processing, error code 1004 given in json body.
|}
|}