To resolve this issue, check the following:
Ensure you copy the API key using the copy icon next to the API key field.
Ensure you give the API key access to the relevant query.
To check if the API has the correct access:
Click Access Button
then click HR Admin.
Go to Settings then API.
Select the relevant API key then select QueryBuilder.
Select the relevant query then click Save.
