I have a problem listing users’ recordings because it doesn’t list all the recordings he has, it only lists those from a while ago even though I upload them from very old dates.
this is my functions
const getRecordings = async (userId, accessToken) => {
try {
const response = await axios.get(`https://api.zoom.us/v2/users/${userId}/recordings`, {
headers: {
Authorization: `Bearer ${accessToken}`,
},
params: {
// from: '2020-01-01',
from: new Date(new Date().setMonth(new Date().getMonth() - 26)).toISOString().split('T')[0],
page_size: 3000,
},
});
return response.data.meetings || [];
} catch (error) {
console.error('Error obteniendo grabaciones:', error.response ? error.response.data : error.message);
return [];
}
};