I'm encountering a 401 Unauthorized error (code 10) when using an npm package. Despite providing the API key, the request is failing. I've confirmed this issue in both Next.js and React.js.
when using an npm package. Despite providing the API key, the request is failing. I've confirmed this issue in both Next.js and React.js.
Asked
Modified
Viewed
10209 times
✓ Accepted Solution
Hello,
Thank you for reaching out, and welcome to the FACEIO support center. To answer your inquiry:
- The 401 error code is raised when your API key is invalid or the API endpoint you are making call to is reserved for the Business or Pro Plan.
- Make sure to copy paste your API key exactly in the key field of the parameter the target endpoint takes.
Thank you.