Sometimes the "parent_id" and the "path" set by the desktop client do no match, causing inconsistencies (e.g. the API shows the file in the root folder whereas the desktop client places the same file inside a folder).
Possible solution: Get rid of the path logic in the desktop client and rely only on parent identifiers.