path parameter not working properly when doing GET files/search

MJovanovic
Member

I am trying to get file uploaded trough hubspot dashboard trough API (GET /files/v3/files/search) and the only thing that I know is path of the folder where the file is.

But when I make a request `https://api.hubapi.com/files/v3/files/search?path=/documents/my_customer_id/deal_id/folder&hapikey=x...

I am not only geting files inside`/documents/my_customer_id/deal_id/folder`, but I am also getting files from `/documents/my_customer_id/`, and also `/documents/my_customer_id/deal_id/` but I only need one from the folder (path) that I passed.

What I am doing wrong? Looks like this path paramether is not working as expected.

0 Upvotes
1 Reply 1
dennisedson
Community Manager

@MJovanovic

So I just tried to recreate the problem and was able to.

BUT! When I was about to report the issue, it started working and now I can't replicate 🤔

Can you double check that you are still having the issue?

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes