- This topic has 1 reply, 2 voices, and was last updated 3 hours, 56 minutes ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
No products in the cart.
Forum › Developers › Cortex API › Send Help
May i know the reasoning behind this error?
I do understand that license is required for a certain function of the device
however the function that i will be using is the BCI Mental Command which is suppose to be free and hence does not require a license
handle_error: request Id 4
{‘code’: -32002, ‘message’: ‘Invalid License Key.’}
Under some really fortunate circumstances when this error is avoided, it is stuck in a constant loop of the following
No handling of response 25
Send helpppp please
Hi Ng Josua,
Thank you for reaching out! I understand how frustrating that error can be — let’s get you back on track.
The error you’re seeing:
handle_error: request Id 4
{ “code”: -32002, “message”: “Invalid License Key.” }
means that the EMOTIV Cloud could not find a valid license associated with your account.
According to our documentation, this corresponds to the following:
-32002 Invalid License ID
The EMOTIV cloud cannot find the license of the user. When you call the authorize method, please make sure that you provide a valid license ID — or omit the license parameter entirely if you’re using a free function such as BCI Mental Commands.
If the issue continues, the license owner should contact EMOTIV Customer Support.
You can find the full reference here:
🔗 https://emotiv.gitbook.io/cortex-api/error-codes#id-32002
If you’re only using the BCI Mental Command feature, you don’t need to include the license parameter when calling the authorize method. Removing it should prevent this error from appearing.
Also, I’d love to invite you to join our official EMOTIV Discord community, where our team and other developers share projects, troubleshoot issues, and provide direct support:
🔗 https://discord.gg/jnZNYZ9dcd
I’m Giovani Florek, EMOTIV’s Developer Evangelist — feel free to reach out anytime if you’d like me to take a look at your code snippet or help you debug the authorization flow.
Best regards,
Giovani Florek
Developer Evangelist | EMOTIV