[ERROR] HubSpot assets are unavailable at the moment. Please wait a few minutes and try again.
Describe the bug This only happens with some HubSpot portals, but lately it's been happening with a higher and higher frequency. I am completely unable to fetch some themes from design manager via HubSpot CLI.
I've added a --debug error log here with my auth credentials redacted: error.log
The weird thing is that I can fetch individual files, but not an entire theme folder.
To Reproduce Steps to reproduce the behavior:
- Authenticate account in VS Code or Cursor
- Try to run the fetch command of a folder (not @hubspot)
Expected behavior All files are downloaded
Screenshots
Environment Versions
- HubSpot VSCode Extension version: [1.3.2]
- OS: MacOS Sonoma 14.5
Can this error be prioritized? This is stopping my team's current development of our HubSpot site.
@cskobel0210
I found a solution by asking in the HubSpot Developer slack. One user said the following:
In my case there were too many files to fetch and it caused timeout error (on the "client" side). You can override default 15s timeout by adding httpTimeout to hubspot.config.yml file.
httpTimeout: 60000
Here's what my config looks like:
The culprit in my case was all the localization/translation files. If you delete them or other any other bloat through the Design Manager, you might be able to fetch the files like normal. Adding the timeout worked right away. You can also try fetching one folder at a time from your theme to see if it works.
Please reply to this thread if it worked for you so we can confirm it as the solution for other people who find this thread in the future.
@sasha-rp Thank you! Changing the timeout worked for me. Thank you thank you thank you!
This worked for me too.
This worked for me as well, thank you!