RoyaleAPI / cr-api

Clash Royale Analytics, Profiles and Insights. We no longer publish a public API. Please use the official API from Supercell.
https://RoyaleAPI.com
167 stars 20 forks source link

error 500 when I slightly modify my api key #396

Closed fourjr closed 5 years ago

fourjr commented 6 years ago

Request Details:

GET
https://devapi.royaleapi.com/player/2P0LYQ/chests 

Response Details:

{
  "error": true,
  "status": 500,
  "message": "Internal Server Error | Additional information and support: http:\/\/discord.me\/royaleapi | Mention error ID 571591c31678468f9e5fe491fa78b525"
}

[HTTP 500] 

Request with one random character added to the front of your developer key.

The endpoint works normally on my correct developer key.

Expected result: an unauthorised error with invalid authentication, http 401 or 403 and not 500

selfish commented 5 years ago

Changed to 401