Authentication error using Resources.profiles.usageStatisticList
Hi, although I enabled ALL permissions for Profile in Access (just in case), I still get an Authentication error when calling Resources.profiles.usageStatisticList.
It would be so helpful when the error provides more info about the missing authentication 😡
const { profile: profile_id } = await Resources.run.info();
const tago_usage_statistic = await Resources.profiles.usageStatisticList(profile_id, { date: String(new Date()), timezone: "UTC" });
I would appreciate if someone can provide me some clues on this one.
Thanks,
Vincent