Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] HubSpot assets are unavailable at the moment. Please wait a few minutes and try again. #278

Open
sasha-rp opened this issue Nov 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sasha-rp
Copy link

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.
image

To Reproduce
Steps to reproduce the behavior:

  1. Authenticate account in VS Code or Cursor
  2. Try to run the fetch command of a folder (not @HubSpot)

Expected behavior
All files are downloaded

Screenshots
system js — Applied — HubSpot - November 17 2024 at 13 39 26  Cursor

** Environment Versions: **

Additional context
Add any other context about the problem here.

@sasha-rp sasha-rp added the bug Something isn't working label Nov 17, 2024
@cskobel0210
Copy link

Can this error be prioritized? This is stopping my team's current development of our HubSpot site.

@sasha-rp
Copy link
Author

sasha-rp commented Dec 20, 2024

@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:
image

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.

@cskobel0210
Copy link

@sasha-rp Thank you! Changing the timeout worked for me. Thank you thank you thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants