jikan-me / jikan-rest

The REST API for Jikan
https://docs.api.jikan.moe/
MIT License
413 stars 268 forks source link

API Response status #540

Open AbhinavSachan opened 3 weeks ago

AbhinavSachan commented 3 weeks ago

Api status is 200 but response status is 500

200 GET https://api.jikan.moe/v4/anime/55701/full

access-control-allow-origin:*
Cache-Control:must-revalidate, private
Connection:keep-alive
Content-Type:application/json
Date:Mon, 10 Jun 2024 07:49:40 GMT
expires:-1
pragma:no-cache
Server:nginx/1.24.0
Transfer-Encoding:chunked
Vary:Accept-Encoding
X-Cache-Status:HIT
X-Powered-By:the-power-of-friendship

{
  "status" : 500,
  "type" : "UpstreamException",
  "message" : "Request to MyAnimeList.net failed. MyAnimeList.net may be down/unavailable, refuses to connect or took too long to respond. Please try again later.",
  "error" : "SSL certificate problem: self-signed certificate for \"https://myanimelist.net/anime/55701/\"."
}
irfan-dahir commented 3 weeks ago

Good catch. The issue was resolved but due to the incorrect status, the response got cached. Need to look into this