Open aouicher opened 1 year ago
It's because of this checkError function. The error argument is sometimes undefined, leading to the crash. I switched it to the following code in my project:
async checkError(error) {
// Careful, error is sometimes undefined.
if (error?.status === 401 || error?.status === 403) {
throw new Error('Unauthorized');
}
},
Thanks for the report. Can you open a PR?
Error :
undefined on query.js getLogger().error(error); --> undefined
From some days, (i don't remember a package updated), there are some error when app start. So, auth doesn't work any more.
Some infos:
I try with the demo project and it's the same. My cognito user pool seems correct.
package.json: