consumet / api.consumet.org

A Modern Search Engine API for Anime, Movies/TVShows, Books, Light Novels, Manga, etc.
https://docs.consumet.org
GNU General Public License v3.0
1.17k stars 533 forks source link

TMDB status code 500 #489

Open haashem33 opened 1 year ago

haashem33 commented 1 year ago

Describe the bug

tmdb search returns 500

Steps to reproduce

import axios from "axios";

// Using the example id of "60735" and the query of "tv" const url = "https://api.consumet.org/meta/tmdb/info/60735"; const data = async () => { try { const { data } = await axios.get(url, { params: { type: "tv" } }); return data; } catch (err) { throw new Error(err.message); } };

console.log(data);

Expected behavior

it should return the movie details

Actual behavior

{"statusCode":500,"error":"Internal Server Error","message":"Request failed with status code 401"}

Additional context

No response

kakerublaze commented 1 month ago

This API endpoint was working fine recently, but now it's throwing a 500 error again. The same issue is happening with the 'tmdb/watch/' endpoint.