Good day, Trying to enable API token on Survey Solutions Server. Completed all the steps outlined but still unable to enable API Token. Can i get some assistance with this please.
Which steps did you follow?
What error message are you getting?
- Created API user
- Activated it, by modify the server configuration file
- Enable Token-Based Authentication for a Specific Account
- Tried connecting useing Postman but getting a 403 Forbidden error code
Postman reportedly supports token Authorization:
https://blog.postman.com/postman-makes-authorization-stronger-and-easier/
I can’t switch to the headers tab on your screenshot, but there will be additional information there.
You will get a 403 if you are trying to submit your query to a workspace that your user is not let into. Refer to here for the explanation of this code:
The HTTP
403 Forbiddenclient error response status code indicates that the server understood the request but refused to process it. This status is similar to401, except that for403 Forbiddenresponses, authenticating or re-authenticating makes no difference. The request failure is tied to application logic, such as insufficient permissions to a resource or action.
Your query currently will go to the primary (default) workspace, because no workspace name is visible in the URL.
Check as an administrator user, what this specific API user is given access to (which workspace/s) and submit your query to one of those. You will get a list of all workspaces that this user is let into in the response.





