Thank you for sharing the details.

I'm having trouble reproducing this duplication behavior.

image

Fetching functions are called using await, so getting each article/highlight is done one by one.
So far, after reviewing the code, I have not figured out the cause.
However, Joplin Cloud possibly returns the list of folders without including the recently created folders (due to cache?),
while Joplin Desktop and Joplin Server include the recent folders.
I'm thinking of a procedure to manage this, resolving this duplication and reducing the number of API calls.