I’m trying to use our API to access the latest topic in a category. I’m using the ruby gem.
The API key is created under an admin user. And the category I’m trying to access is a locked one, which is not shown to public, and only admin can edit and view it.
client.category_latest_topics(slug) to access the topics, but always get error like below:
`handle_error': [error: 'invalid access'] (DiscourseApi::UnauthenticatedError)
So seems like even though the user has the access right, it will still block user through API access?
I’m using Discourse v1.2.1