---
title: "Import Failures | Jetstack AI Docs"
description: "Troubleshoot Jetstack AI import failures: API errors, dependency issues, rate limits, timeouts and problems specific to each asset type."
url: "https://jetstack.ai/docs/troubleshooting/import-failures/"
---

# Import Failures

This page covers every common import failure you may encounter in Jetstack AI, organized by error type and then by asset type. Each entry follows a **Symptom / Cause / Solution** format.

## General Import Errors

### Failed to Fetch Asset

**Symptom:** The import task fails with “Failed to fetch asset” and the asset name or ID in the error details.

**Cause:** This occurs when HubSpot’s API returns an error during asset retrieval. Common reasons include:

- The asset was deleted from the source portal after you selected it for import
- The asset is in a draft or archived state that the API does not expose
- A transient HubSpot API error (500-level response)
- The OAuth token lacks read access for this asset type

**Solution:**

1. Verify the asset still exists in the source HubSpot portal
2. Check that the asset is in a published or active state
3. Retry the import — transient API errors resolve automatically
4. If the error persists, reconnect the portal to refresh OAuth scopes (see [Connection & OAuth](https://jetstack.ai/docs/troubleshooting/connection-oauth))

### Dependency Import Failed

**Symptom:** An asset you selected imports successfully, but the task log shows “Dependency import failed” for one or more of its dependencies.

**Cause:** Jetstack AI uses depth-first traversal to import dependencies before the parent asset. If a dependency fails to import, the parent asset may still succeed but with broken references, or the entire import may fail depending on the dependency type. Common causes:

- The dependency was deleted from the source portal
- The dependency exists in a different HubSpot account that is not connected
- A circular dependency was detected

**Solution:**

1. Review the task details in the Activity Log to identify which specific dependency failed
2. Check whether the dependency exists and is accessible in the source portal
3. If the dependency is a cross-portal reference (e.g., a workflow referencing a list in another portal), import that asset separately

### API Rate Limit Exceeded

**Symptom:** Import slows dramatically or fails with “API rate limit exceeded” or “429 Too Many Requests.”

**Cause:** HubSpot enforces a limit of 100 requests per 10 seconds for OAuth apps. This limit is shared across all Jetstack AI operations on the same portal. Rate limiting is more likely when:

- You are running multiple imports simultaneously on the same portal
- An audit is running concurrently on the same portal
- Other HubSpot integrations are consuming API quota

**Solution:**

1. Wait 30-60 seconds and retry the import
2. Avoid running multiple operations on the same portal simultaneously
3. If you consistently hit rate limits, reduce the number of assets per import batch
4. Jetstack AI automatically retries with exponential backoff — check the Activity Log to confirm whether retries succeeded

### Image Upload Failed

**Symptom:** Import completes but the task log shows “Image upload failed” for one or more images.

**Cause:** During import, Jetstack AI downloads images referenced by assets (e.g., email images, blog post featured images, page module images) and stores them. This fails when:

- The image URL is no longer accessible (expired CDN link)
- The source portal’s file manager has access restrictions
- The image file exceeds size limits
- The image format is not supported

**Solution:**

1. Check the specific image URL in the task details
2. Verify the image is accessible by opening the URL in a browser
3. If the image was deleted from the source portal’s file manager, re-upload it and retry the import
4. Images that fail to import will be skipped, and the asset will be stored without them. You can manually upload images to the destination portal after deployment.

### Timeout

**Symptom:** Import fails with “Import timeout” or “Operation timed out.”

**Cause:** The import exceeded the maximum allowed duration. This typically happens with:

- Very large workflows (100+ actions with complex branching)
- Assets with deep dependency chains (10+ levels deep)
- HubSpot API responding slowly during peak periods
- Large HubDB tables with thousands of rows

**Solution:**

1. Retry the import — timeouts are often caused by transient API slowness
2. If the asset is very large, try importing it during off-peak hours
3. For HubDB tables with thousands of rows, the import may take several minutes; wait for the full timeout before retrying
4. If timeouts persist for the same asset, contact support with the task ID

### Permission Denied

**Symptom:** Import fails with “Permission denied” or “Insufficient permissions.”

**Cause:** The OAuth token used for the source portal connection does not include the required scopes for the asset type. This can happen when:

- The portal was connected before new asset types were added to Jetstack AI
- Scopes were not fully approved during the OAuth flow
- A HubSpot admin revoked specific scope approvals after connection

**Solution:**

1. Navigate to Account > Portals and check the connection status
2. Reconnect the portal to re-request all required scopes
3. During the OAuth flow, ensure you approve all requested permissions
4. See [OAuth Connection Flow](https://jetstack.ai/docs/account/portals/oauth) for the full reconnection process

## Per-Asset-Type Issues

### Workflows

**Symptom:** Workflow import fails or imports with missing actions.

**Cause:** Workflow import issues typically stem from:

- Actions referencing deleted assets (emails, lists, properties)
- Custom code actions with external dependencies
- Workflows using features only available on Enterprise tier (e.g., custom-coded actions)
- Very large workflows exceeding API response size limits

**Solution:**

1. Check the task log for specific action IDs that failed
2. Ensure all assets referenced by the workflow exist in the source portal
3. For Enterprise-only features, verify the source portal is Enterprise tier
4. If specific actions fail, the workflow is still imported with those actions marked as requiring manual attention

### Lists

**Symptom:** List import fails or the list imports without all filters.

**Cause:** List import issues commonly involve:

- `TIME_RANGED` filter operations with unsupported timezone formats
- Filters referencing deleted properties or form submissions
- Lists with `ILS_FILTER_BRANCH` nesting exceeding depth limits
- Lists using `IN_LIST` filters referencing other lists that were not imported

**Solution:**

1. Review the filter tree in the task details to identify which filters failed
2. For `TIME_RANGED` issues, Jetstack AI automatically remaps timezones during deployment — the import should succeed regardless
3. Import referenced lists before importing the parent list
4. For filter depth issues, contact support

### Forms

**Symptom:** Form import is missing fields or field configuration.

**Cause:** HubSpot’s v3 Forms API does not expose all field-level configuration. Jetstack AI uses the v2 API as a fallback, but certain configurations may still be incomplete:

- Progressive profiling field queues
- Dependent field visibility rules
- CAPTCHA and bot protection settings
- Some v2-only field validation rules

**Solution:**

1. After importing, review the form configuration in the Asset Library
2. Fields that could not be fully captured will be flagged in the asset details
3. After deployment, manually verify progressive profiling and dependent field rules in the destination portal

### Emails

**Symptom:** Email import fails or HTML content is incomplete.

**Cause:** Email import issues typically involve:

- Emails using custom-coded templates that reference missing modules
- A/B test variants where one variant has been deleted
- Smart content rules referencing deleted lists or properties
- RSS/blog emails referencing disconnected RSS feeds or blogs

**Solution:**

1. Ensure the email’s template is imported first (Jetstack AI should auto-import it as a dependency)
2. For A/B emails, both variants must be accessible in the source portal
3. Smart content list references will be captured but require list mapping during deployment
4. RSS feed URLs are stored as-is; update them manually after deployment if needed

### Templates and Template Modules

**Symptom:** Template import fails or produces “generated_layouts path not found.”

**Cause:** Template imports can fail when:

- The template references custom modules that are not accessible
- The `generated_layouts` file path does not resolve correctly
- Template source code uses syntax not supported by the HubSpot API response format
- The template type (coded vs drag-and-drop) is not correctly identified

**Solution:**

1. Import all custom modules referenced by the template before importing the template itself
2. Jetstack AI auto-imports module dependencies, but if auto-import fails, import modules manually
3. For `generated_layouts` errors, this is typically a transient API issue — retry the import
4. If the template uses an unusual structure, contact support with the template ID

### Pages (Site and Landing)

**Symptom:** Page import is missing module content or layout information.

**Cause:** Page imports depend heavily on the associated template. Issues arise when:

- The page’s template has not been imported
- Module data within the page references custom modules by ID
- The page uses HubL functions that reference portal-specific data
- Multi-language page variants have different template assignments

**Solution:**

1. Always import the page’s template and all referenced modules first
2. Review module content in the Asset Library after import
3. HubL references to portal-specific data (e.g., `hub_id`, `portal_id`) are automatically remapped during deployment
4. Multi-language variants are imported as separate assets

### HubDB Tables

**Symptom:** HubDB table import fails or is missing rows.

**Cause:** HubDB import issues include:

- Tables with foreign ID columns referencing other HubDB tables
- Very large tables (10,000+ rows) timing out during retrieval
- Tables in draft (unpublished) state
- Tables with CDN caching enabled that return stale data

**Solution:**

1. Import referenced HubDB tables (foreign ID columns) before the referencing table
2. For large tables, Jetstack AI paginates the retrieval — if it times out, retry
3. Publish the table in the source portal before importing, or note that draft tables may have incomplete data
4. CDN caching does not affect API retrieval; if you see stale data, verify directly in HubSpot

### Pipelines

**Symptom:** Pipeline import fails or is missing stages.

**Cause:** Pipeline import issues stem from:

- Custom object pipelines on portals without custom objects enabled
- Pipelines with probability values set to non-standard formats
- Very old pipelines created through legacy APIs with non-standard data structures

**Solution:**

1. Verify that the source portal tier supports the pipeline type
2. Check the pipeline configuration in HubSpot to ensure all stages have valid data
3. Retry the import — most pipeline issues are transient

## Still Stuck?

If none of the above solutions resolve your issue:

1. Open the **Activity Log** and click on the failed task for full error details
2. Note the **task ID** from the task detail view
3. Contact support at <team@jetstack.ai> with the task ID and a description of what you were trying to import
