Recent searches
No recent searches
Help Center - Theme Import Timeout Error
Posted Nov 26, 2024
HI! I’m working with Zendesk Help Center to create a custom Help Center and personalize the UI by customizing the theme code.
To do this, I need to import the theme from a local environment or through a CI/CD pipeline using the following command (with ZCLI as specified in the documentation):
zcli themes:import --brandId=<BRAND_ID>
However, the import process fails with the following output:
Creating theme import job... Ok
Creating theme package... Ok
Uploading theme package... Ok
Polling job status... !
› Error: Import job timed out
Are there any suggestions or specific configurations we should consider to resolve this? Perhaps a way to increase the timeout?
0
3
3 comments
Amie Brennan
Heya,
Few things come to mind to check on this:
Hope this helps. :)
0
Enrico Monte
Hi Amie,
Thank you so much for your response!
Unfortunately, I already have the latest version of the Zendesk CLI.
About the import command, it is structured as follows:
If you run the command inside the theme folder, you can use “.” as the current theme directory or omit it, and it will default to “.” as described here.
Unfortunately, I can’t use the GitHub integration because I have a GitHub repository containing multiple themes/brands, and to use the integration, you need to have only one theme per repository.
Additionally, I have a robust CI/CD pipeline that allows me to choose whether to import the theme only or also publish it. It also ensures that unused themes are removed from the library, given that Zendesk has a limit of 10 themes in the library.
Has anyone else encountered a similar issue and found a solution?
0
James Peterson - Eastern Logic
Enrico Monte - were you able to resolve this? A few troubleshooting steps I can think of:
Are able to upload the same theme manually?
Are you able to import the theme via API directly rather than thru ZCLI?
You could also try asking in the Zendesk Platform Developer Slack channel; there's a few more people in there and they may be able to help as well.
0