Bug with session token?
- 11 years ago
maybe you are using a different account in REST, which has limited permissions? for example, you are viewing the community in browser as administrator, so you can see all threads via browser, incl private board threads. while in your program/code, your rest api user can only view public threads.
- 11 years ago
As HaidongG is saying I think the problem is:
If you specify the session token Lithium is trying to perform the call using the user linked to the session which the session token refers to.
If you don't specify the session token Lithium will use your session cookie to determine what permission to aply to the call. Chances are that you were already logged in as Administrator and for such reason you are getting the right result.
Probably the user linked to the session token doesn't have permission to access the board you were trying to query.
I hope this helps,
Nico