403 when creating a license with api and product #151
-
|
I am trying to create licensee from my localhost, et but getting 403. Is there a sandbox url I should be using? If so where can i find it. How can I use my actual product in sanbox. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @zkovalenko, The 403 error usually means your API key does not have sufficient permissions to create a licensee. To create a licensee, the API key you are using must have one of the following roles:
Without this role, the request will be forbidden even if all other parameters are correct. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @zkovalenko, Just to add to the previous reply: NetLicensing doesn’t have a separate sandbox API endpoint. If you’d like a safe place to experiment, you can create a free NetLicensing account and use its credentials/API key so there’s no risk to production data. It’s also worth checking the full response body, not only the status code. The API often returns extra error details that help pinpoint the issue source, even if the HTTP status isn’t 2xx. |
Beta Was this translation helpful? Give feedback.
Hi @zkovalenko,
The 403 error usually means your API key does not have sufficient permissions to create a licensee. To create a licensee, the API key you are using must have one of the following roles:
Without this role, the request will be forbidden even if all other parameters are correct.