Return lists from .getItems is empty.
hi, trying to pull the sub folders or files from root, but return object has always 0 as total_count. need some help, thanks.
Here is the code,
{
total_count: 0,
entries: [],
offset: 0,
limit: 25,
order: [
{ by: 'type', direction: 'ASC' },
{ by: 'name', direction: 'ASC' }
]
}
-
Official comment
Hello,
Can you confirm that the user associated with your token is who you expect? You can do that using this endpoint: https://developer.box.com/reference/get-users-me/. I suspect that you may be using a JWT app, which defaults to a token associated with the app's service account.
Best,
Kourtney, Box Developer Advocate
Comment actions
Please sign in to leave a comment.
Comments
1 comment