Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TMDB status code 500 #489

Open
haashem33 opened this issue Oct 16, 2023 · 0 comments
Open

TMDB status code 500 #489

haashem33 opened this issue Oct 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@haashem33
Copy link

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

@haashem33 haashem33 added the bug Something isn't working label Oct 16, 2023
@riimuru riimuru changed the title "statusCode": 500 TMDB status code 500 Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant