Overview
The customer is experiencing an issue with exporting a list of questions from specific forum spaces via the AnswerHub API. Despite having granted all permissions to the API user, an error message stating, "You don't have permission to do this action. Please login as another user." is received. The issue persists even though the API user has access to all other spaces except the ones mentioned.
Solution
The content of the forum spaces was hidden, which was causing the permission error. To resolve this, the customer needs to uncheck the "Hide Content" option in the space settings. This can be done by navigating to the space settings page (e.g., `https://<your_answerhub_url>/admin/spaces/<space_id>/edit.html`), unchecking the "Hide Content" checkbox in the Advanced Settings, and saving the changes. After making these changes, the API should work as expected when used with a SuperUser or any other group that has the proper permissions.
Priyanka Bhotika
Comments