Answered question

How to solve nl-api-key-not-allowed?

When recording a load test through the proxy (using 7.10, c# rest design api 1.0.9), the exception NL-API-KEY-NOT-ALLOWED is thrown. The exception is thrown in the IsProjectOpen method. I can't find it in the documentation. What does the error mean and how to solve it?

Albert Z.
Albert Z.

Albert Z.

Level
0
27 / 100
points

This error occurs when your controller is configured with an API key but you did not send it when you called the API. So look at your controller settings under General Settings-->REST API and use that API Key for any of your calls to the API.

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful

Other answers

Albert Z.
Albert Z.

Albert Z.

Level
0
27 / 100
points

@Nouredine, thanks. After your answer, I found that there is a global api-key and project api-key and that the api-key must be provided when creating the api client and that authentication for the api can be turned off.