cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

/list_folder/get_latest_cursor and property_groups issue

/list_folder/get_latest_cursor and property_groups issue

Kostas T.
Explorer | Level 4

Hi,

I am having trouble getting the latest delta cursor to include the property_group.

I am using https://api.dropboxapi.com/2/files/list_folder/get_latest_cursor passing in the JSON body the include_property_groups item (as per documentation).

Example:

curl -H 'authorization: Bearer xxxxx' -H 'content-type: application/json' 'https://api.dropboxapi.com/2/files/list_folder/get_latest_cursor' -d '{ "include_property_groups": { ".tag": "filter_some", "filter_some": ["ptid:InLiqtFVZJwAAAAAAAA0fg"] } ,"path": "","recursive": true }'

The API returns me the cursor without issues but any subsequent call to retrieve any changes using the https://api.dropboxapi.com/2/files/list_folder/continue call doesn't include the property_group in the response:

curl -H 'authorization: Bearer xxxxx' -H 'content-type: application/json' 'https://api.dropboxapi.com/2/files/list_folder/continue' -d '{ "cursor":"AAGqPc4HUM8A9VnCfICokFAPYOsg-QQwa_caZCZ1XEky2uMP_BuPGA8_9J6rrJPK9xYaumyKabX-c2zGB3jyBn6c6hp7WBxC54CM_vSDYiiV44OamHq8wWkrDVtBUFkKCpvYxw-TsvBFjDd_DAm9A66g_9I8uzIg8-kOJnaRbpzn9ZCnIugoXyOXLJilAp43pbXSvp7U7shyh8POzwRtocXR" }'

 

My template and associated custom properties are in good order and files get their properties set during upload.

A normal call to /list_folder and /list_folder/continue works fine as expected by the way and include the property_group.

Am I missing something here?

Thanks.

 

1 Accepted Solution

Accepted Solutions

Re: /list_folder/get_latest_cursor and property_groups issue

Greg-DB
Dropboxer

Cursors from /2/files/list_folder/get_latest_cursor should now properly respect the `include_property_groups` parameter. Please try again and let me know if you're still seeing any issues. Thanks!

View solution in original post

5 Replies 5

Re: /list_folder/get_latest_cursor and property_groups issue

Greg-DB
Dropboxer

Thanks for the report! This looks like a bug on our side when using /2/files/list_folder/get_latest_cursor as opposed to starting from /2/files/list_folder.

We'll look into it. I'll follow up here once I have any news on this issue.

Re: /list_folder/get_latest_cursor and property_groups issue

Kostas T.
Explorer | Level 4

Is there any update regarding this?

Thanks.

Re: /list_folder/get_latest_cursor and property_groups issue

Greg-DB
Dropboxer
I don't have an update on this yet. I'll follow up here once I do.

Re: /list_folder/get_latest_cursor and property_groups issue

Greg-DB
Dropboxer

Cursors from /2/files/list_folder/get_latest_cursor should now properly respect the `include_property_groups` parameter. Please try again and let me know if you're still seeing any issues. Thanks!

View solution in original post

Re: /list_folder/get_latest_cursor and property_groups issue

Kostas T.
Explorer | Level 4

Hi,

So far it works fine. Will contact you again if I notice anything unusual.

Thanks!

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Kostas T. Explorer | Level 4
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?