# Unable to parse search query for hubapi File manager

**URL:** <https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [June 12, 2023, 9:03pm UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200 "2023-06-12T21:03:48Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Molinero9249](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/molinero9249/32/102945_2.png) [@Molinero9249](https://community.hubspot.com/u/Molinero9249)\
**Post date:** [June 12, 2023, 9:03pm UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/1 "2023-06-12T21:03:48Z")

</div>

Hey folks,

Out of the blue today, we’re getting server errors on one of our integrations and we’re getting the following message when attempting to login.

Client error: `GET [https://api.hubapi.com/filemanager/api/v2/folders?&parent\_folder\_id=119886235194](https://api.hubapi.com/filemanager/api/v2/folders?&parent_folder_id=119886235194)` resulted in a `400 Bad Request` response: {“status”:“error”,“message”:“Unable to parse search query”,“correlationId”:“7842185f-7912-46e3-8391-f0d4a7c13d44”}

We haven’t adjusted any of these scripts recently, so we’re unsure why we’d be getting a 400 error here. In another thread, I noticed that it looks like there were differences between & and ? being used. Is part of our URL wrong?

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [June 12, 2023, 10:02pm UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/2 "2023-06-12T22:02:18Z")

</div>

Hi @Molinero9249

Typically the & (ampersand) is used to add additional query parameters after the ? (quention mark).

e.g. [domain.com](http://domain.com)\*\*? **query\_1=one** &\*\*query\_2=two

While your query should still work… I’d remove the ampersand:

[https://api.hubapi.com/filemanager/api/v2/folders?parent\_folder\_id=119886235194](https://api.hubapi.com/filemanager/api/v2/folders?&parent_folder_id=119886235194)

It’s possible a code tweak at HubSpot’s end may have rejected the query based on the URL structure (probably looking for a query it couldn’t find).

Have fun

Mike

p.s. I’m a HubSpot Partner, not a HubSpot employee

---

<div class="post-metadata">

**Author:** ![TimMunro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/timmunro/32/19541_2.png) [@TimMunro](https://community.hubspot.com/u/TimMunro)\
**Post date:** [June 14, 2023, 4:01am UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/3 "2023-06-14T04:01:48Z")

</div>

We also started hitting this issue yesterday. Much like you, these API calls have been running fine for a very long time with no issues. I logged a support ticket with HubSpot however no feedback as of yet. Our URL does not have any extra ampersands. I suspect this is a newly introduced HubSpot API bug.

Did you find any workaround?

---

<div class="post-metadata">

**Author:** ![Molinero9249](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/molinero9249/32/102945_2.png) [@Molinero9249](https://community.hubspot.com/u/Molinero9249)\
**Post date:** [June 14, 2023, 1:46pm UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/4 "2023-06-14T13:46:11Z")

</div>

No, not yet. We’ve commented out the part of our code where it makes it a parent folder, since it’s thankfully not a super high profile aspect of our integration, and we’re still working through how to re-code this.

---

<div class="post-metadata">

**Author:** ![noahmckeon](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/noahmckeon/32/78446_2.png) [@noahmckeon](https://community.hubspot.com/u/noahmckeon)\
**Post date:** [June 15, 2023, 12:08pm UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/5 "2023-06-15T12:08:16Z")

</div>

We’re running into the same issue.

[https://api.hubapi.com/filemanager/api/v2/folders?offset=0&limit=100](https://api.hubapi.com/filemanager/api/v2/folders?offset=0&limit=100)

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 15, 2023, 5:58pm UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/6 "2023-06-15T17:58:27Z")

</div>

Hey all!  
This is a known issue and we are working on a fix! Apologies for any disruption this may have caused!

---

<div class="post-metadata">

**Author:** ![Molinero9249](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/molinero9249/32/102945_2.png) [@Molinero9249](https://community.hubspot.com/u/Molinero9249)\
**Post date:** [June 15, 2023, 6:25pm UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/7 "2023-06-15T18:25:51Z")

</div>

Dennis,

Okay, sounds good. When will we know to start working on it again? Will you post in here, have it in a developer update, etc.? Just want to let my team know that if it’s on Hubspot’s end at the moment don’t lose hairs over trying to fix it.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 15, 2023, 6:36pm UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/8 "2023-06-15T18:36:12Z")

</div>

@Molinero9249 ,

Try now! Was just informed that a rollback was pushed and should be resolving any errors 🤞

---

<div class="post-metadata">

**Author:** ![mwx\_kk](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mwx_kk/32/89900_2.png) [@mwx\_kk](https://community.hubspot.com/u/mwx_kk)\
**Post date:** [June 13, 2025, 8:04am UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/9 "2025-06-13T08:04:18Z")

</div>

For one of our customers a similar error appears with using Hubspot’s CTA:

 ![image-2025-06-13-08-19-51-572.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/0/08ebc9fe1f811503ce8f2ee911070c2aefa7b8b4.png)

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [June 13, 2025, 9:53am UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/10 "2025-06-13T09:53:27Z")

</div>

Hi [@mwx\_kk](https://community.hubspot.com/t5/user/viewprofilepage/user-id/217892) and Happy Friday!  
Thanks for asking the HubSpot Community and thanks for sharing the screenshot!  
This happened while using which method and which endpoint, please?  
What are you trying to achieve?  
The more info, screenshots (without sensitive/confidential information), and details you can provide, the better the Community can assist.

I’d love to put you in touch with some of our Top Experts: Hi [@sylvain\_tirreau](https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366), @Anton and @Bortami do you have suggestions to help [@mwx\_kk](https://community.hubspot.com/t5/user/viewprofilepage/user-id/217892), please?  
Have a great weekend and thanks so much in advance for your valuable contributions!  
Bérangère

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [June 27, 2025, 4:10pm UTC](https://community.hubspot.com/t/unable-to-parse-search-query-for-hubapi-file-manager/83200/11 "2025-06-27T16:10:41Z")

</div>

Hi [@mwx\_kk](https://community.hubspot.com/t5/user/viewprofilepage/user-id/217892), I hope that you are well!  
Do you still need help?  
If yes, can you please share additional information with the Community?  
Thanks and enjoy the weekend!  
Bérangère
