XF 2.3 API GET /nodes/{id} no permission error

Gleedo

Active member
Hi all,

I am having issues trying to get a node id throught the API.

The API Key I am using is for my admin user and have allowed all scopes. No permissions on the admin user or Administrator groups have changed as this is a new install.

Using the api in postman:
1\ I create a new category node - works (y)
2\ I then create a normal forum node with the category as the parent - works (y)
3\ I then try and GET the new forum node using it's id - api/nodes/3

That always fails and returns an error "You do not have permission to view this page or perform this action."

I have noticed that if I am logged in as admin in the browser and then after action 3 I refresh the home page, I can see the new nodes (category and forum) OK. If I then make the GET api call again (in postman), it now returns successfully!

Any thoughts appreciated :)
 
Back
Top Bottom