Deployment Failed
Quick Diagnosis
When you see “Deployment failed” in execution logs, start here:
- Check error message in execution logs
- Verify store credentials
- Confirm theme ID exists
- Check for API rate limits
- Review file sizes
Common Errors & Solutions
”Unauthorized” or “Invalid credentials”
Cause: Store OAuth token expired or app was reinstalled.
Solution:
- Go to Stores page
- Find the store with issues
- Click “Reconnect”
- Complete OAuth flow in the popup
- Retry deployment
”Theme/repo mismatch”
Symptoms: Execution aborts with Theme/repo mismatch: only X% of section/block types... exist in this repo.
Cause: The target theme on your store is a different theme than the one in your repo. If the workflow proceeded, content merge would corrupt the target theme by combining settings from one theme with sections from a completely different one.
Solution:
- Confirm which theme the workflow’s repo contains
- In Shopify Admin, identify which theme matches that repo
- Update the Deploy / Content Merge / Store Matrix block to target the correct theme ID
This guard cannot be bypassed from the UI — it’s intentional.
”Theme not found” or “Invalid theme ID”
Cause: Theme ID doesn’t exist, was deleted, or belongs to a different store.
Solution:
- Shopify Admin → Online Store → Themes → ”…” → “Edit code”
- Copy the numeric ID from the URL
- Update the Deploy block with the correct ID, or use
newto create a fresh theme
”GitHub API rate limit exceeded”
The app downloads the entire repository as a single archive to avoid this. If you still see this error, wait a few minutes and retry.
”Shopify API rate limit exceeded”
Solution:
- Wait 5–10 minutes and retry
- Reduce parallel deployments if using Store Matrix
- Contact support for high-volume adjustments
”File too large” or “Asset exceeds size limit”
Individual assets > 20MB will fail.
Solution: Optimize images (use WebP), move videos to Shopify CDN or external hosting, subset fonts.
”Theme locked by another process”
Wait 2–3 minutes and retry. If it persists for more than 10 minutes, contact support.
Prevention Checklist
Before deploying:
- Backup created (use Backup block)
- Store credentials valid
- Theme ID verified in Shopify admin
- No syntax errors in theme files
- Large assets optimized (<20MB each)
Emergency Workarounds
Option 1: Manual Shopify Upload
- Zip your theme files locally
- Upload via Shopify Admin → Themes → Upload
Option 2: Use Shopify CLI
cd your-theme-reposhopify theme push --store=mystore.myshopify.comGetting Help
- Open the execution details and download the logs
- Note your store domain
- Describe your workflow (blocks and order)
- Contact support via in-app chat or erik@paxsolutions.io