I have a project that let's me upload videos on google cloud storage (it is very bare and that's the only thing that it does at the moment).
If I trigger the request form serverless dashboard, the job gets completed, but if it is triggered via API it is stuck forever
this is what the code looks like:
const requestConfig = {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${runpod.api_key}`,
},
body: JSON.stringify({
input: {
video_path,
audio_path,
},
}),
};
const response = await fetch(https://api.runpod.ai/v2/*****/run`, requestConfig);
Any Ideas?