Interface: ErrorObject
types/general.ErrorObject
Table of contents
Properties
Properties
code
• code: number
The response status of the API. See remarks for info about specific error codes
Remarks
Can be any of the following:
0
Riot Origin Server down for maintenance1
Invalid API Key2
Forbidden endpoint3
Restricted endpoint101
No region found for this Player102
No matches found, can’t get puuid103
Possible name change detected, can’t get puuid. Please play one match, wait 1-2 minutes and try it again104
Invalid region105
Invalid filter106
Invalid gamemode107
Invalid map108
Invalid locale109
Missing name110
Missing tag111
Player not found in leaderboard112
Invalid raw type113
Invalid match or player id114
Invalid country code115
Invalid season
Defined in
details
• details: string
Error details to help fix the problem
Defined in
message
• message: string
Error message