You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: