Solution
This error occurs because of one or both of the below reasons:
- The HTTP request does not include the x-ni-api-key header.
- There is not an existing valid API key.
SystemLink uses API keys to automate access to the SystemLink API from an external application like a web VI. To resolve this issue, you must:
- Create a Policy. This defines an action, resource and workspace for a specific user.
- Create an API Key based on the Policy.
- Add the x-ni-api-key header with the new API key as the value to your web VI making HTTP requests.
Refer to
Using API Key in SystemLink HTTP API for instructions.