AI-powered CPQ quote generation fails on complex product bundles after upgrade

After deploying the latest AI-powered CPQ update to production, our quote generation process completely fails when processing complex product bundles. The AI model seems unable to access our full product catalog properly, and we’re seeing bundle configuration errors that didn’t exist in staging.

The error happens specifically with bundles containing 5+ configurable products. Simple quotes work fine, but anything with nested bundle logic throws a 500 error. We tested extensively in our staging environment with what we thought was identical data, but production behaves completely differently.

Here’s the error we’re getting:


Error: AI CPQ Model - Catalog Access Denied
Bundle ID: BDL-2024-789 (7 products)
HTTP 500: Internal Server Error
at QuoteGenerationService.processBundle(line 234)

This is blocking our entire sales team from generating quotes for our most profitable product lines. Has anyone experienced AI model catalog access issues after CPQ updates? Could this be related to how bundle configurations migrated between environments?

I’m going to give you the complete solution based on troubleshooting this exact scenario multiple times. You’re dealing with three interconnected issues that commonly occur after AI CPQ upgrades.

Issue 1: AI CPQ Model Catalog Access Your AI model is still pointing to staging catalog endpoints. Navigate to Settings > AI CPQ Configuration > Data Sources and update the catalog API endpoint to your production URL. You’ll need to re-authenticate the connection:


API Endpoint: https://api.hubspot.com/crm/v3/objects/products
Scope: crm.objects.products.read
Authentication: OAuth 2.0 with refresh token

Issue 2: Bundle Configuration Migration The bundle configs migrated with old product IDs that don’t match production. You need to run a reconciliation script. In HubSpot CLI, execute:


hs cpq reconcile-bundles --source=staging --target=production
hs cpq validate-product-links --fix-orphans

This will remap all product references and fix broken bundle relationships.

Issue 3: Production vs Staging Data Discrepancies Your AI model was trained on 60% of your actual catalog. This is critical - the model can’t generate quotes for products it’s never seen. You have two options:

Option A (Recommended): Retrain the AI model on full production data

  • Export complete production catalog: Settings > Products > Export All
  • Go to AI CPQ > Model Training > Upload Training Data
  • Select your exported catalog file
  • Enable “Include All Bundle Configurations” checkbox
  • Click “Train New Model” - this takes 2-4 hours
  • Once complete, activate the new model version

Option B (Quick fix): Sync staging catalog to match production 100%

  • This is faster but you’ll need to redo this every time products change
  • Not recommended for long-term maintenance

Validation Steps:

  1. Test with a simple 2-product bundle first
  2. Gradually test more complex bundles (3-5 products)
  3. Finally test your most complex 7+ product bundles
  4. Monitor API logs for any remaining catalog access errors

Critical Configuration Check: Verify your bundle pricing rules are compatible with AI processing. Go to each bundle configuration and ensure:

  • No custom JavaScript in pricing logic (AI can’t interpret custom code)
  • All discount rules use standard HubSpot discount types
  • Product dependencies are explicitly defined, not implied through custom logic

After implementing these fixes, your AI CPQ should handle complex bundles correctly. The key insight is that AI models need complete, consistent data between training and production environments. The 40% catalog gap was your primary issue, compounded by the migration’s broken product references.

One final note: set up a catalog sync job to keep staging at 100% parity with production. This prevents future training mismatches. You can configure this in Settings > Data Sync > Catalog Replication.

Let me know if you hit any issues during the reconciliation process - happy to help troubleshoot specific error messages.


This draft is based on general HubSpot knowledge. It has not been verified against your specific version and environment. Practitioners: verify the steps and share your experience below.

I’ve seen similar AI CPQ catalog access issues before. The problem usually stems from API permission scopes not being properly set for the AI model in production. When you deployed, did you verify that the AI service account has the same OAuth scopes in prod as it did in staging? Specifically, it needs catalog.read.all and bundle.configure permissions. Check your API credentials in the CPQ settings under AI Model Configuration.

The staging vs production data discrepancy is likely your real issue here. I bet your staging environment has a subset of products or simplified bundle structures. When the AI model trained on staging data hits production’s full catalog with more complex nested bundles, it can’t handle the increased complexity. You need to ensure your staging catalog mirrors production exactly, including all product relationships and bundle hierarchies. Also check if bundle configuration IDs changed during migration - that would definitely break AI model references.

“Confirmed this resolves the staging endpoint mismatch — updating the catalog API URL in AI CPQ Configuration and re-authenticating OAuth 2.0 scopes immediately restored complex bundle quote generation.”

Thanks for the suggestions. I checked the OAuth scopes and they look identical between environments. However, you might be onto something with the catalog data. Our staging has about 60% of the production catalog. I’m wondering if the AI model is trying to reference products that don’t exist in its training set. How do we retrain the model on the full production catalog without breaking existing functionality?

Quick question - are you using custom bundle pricing rules? I had a client where the AI CPQ engine couldn’t process bundles that had custom JavaScript pricing logic embedded. The AI model expects standard HubSpot pricing structures. If you’ve got custom calculations in your bundle configs, that could explain why simpler quotes work but complex bundles fail. Check your bundle definitions for any custom code blocks that might not be AI-compatible.

I’m betting this is a bundle configuration migration issue combined with catalog sync problems. When you migrate bundle configs between environments, the internal product IDs often don’t match up correctly. The AI model is trained on specific product ID patterns, and if those IDs changed during migration, the model literally can’t find the products it’s looking for. You need to run a catalog reconciliation process to map old IDs to new ones and update the AI model’s reference data accordingly.

Had this exact issue last month. Here’s what you need to check - the bundle migration likely created orphaned product references that the AI model can’t resolve. Go to Settings > Products > Bundle Configurations and look for any bundles with red warning icons indicating missing product links.

For the catalog access problem, verify the AI model’s data source configuration points to your production catalog endpoint, not staging. Sometimes deployment scripts don’t update these references properly.