Troubleshooting
Quick Diagnostic Checklist
When experiencing issues with BRC Connect, check these first:
- Integration Active = ON in BRC Connect Setup
- Bearer token valid and not expired
- External API endpoint reachable
- Job Queue Entries running and not errored
- No “Stopped” entries in Job Queue Entries
- Recent errors in BRC Connect Error List reviewed
- BC environment healthy (check Microsoft 365 Service Health)
Common Issues and Solutions
Orders Not Downloading
Symptom: No new entries in BRC Connect Entries, or entries stuck at “Not Sent”
Possible Causes and Solutions:
Cause 1: Integration Disabled
Check:
- Open BRC Connect Setup
- Verify Integration Active = ON
Solution:
- Enable Integration Active
- Save changes
- Wait for next job queue run
Cause 2: Job Queue Not Running
Check:
- Open Job Queue Entries
- Filter Object ID to Run = 12073522 (BRC Process All Contents)
- Check Status field
Solution:
- If Status = “On Hold”: Set Status = Ready
- If Status = “Error”: Review Error Message, fix issue, set to Ready
- If no entry exists: Create new job queue entry following Setup Guide
Cause 3: API Connection Failure
Check:
- Open BRC Connect Entries
- Filter Status = Error
- Review Error Text
Common Error Messages:
| Error Text | Cause | Solution |
|---|---|---|
| “Could not connect to remote server” | Network issue, wrong URL | Verify API Path in BRC Connect Setup |
| “401 Unauthorized” | Invalid bearer token | Update bearer token in BRC Connect Setup |
| “403 Forbidden” | IP not whitelisted | Add BC’s IP to external system allowlist |
| “404 Not Found” | Wrong endpoint path | Verify API Path and type-specific paths |
| “Timeout” | External system slow/down | Check external system health, increase timeout |
Solution:
- Test API endpoint manually (use Postman or curl)
- Verify bearer token valid
- Check external system status page
- Update BRC Connect Setup with correct values
- Retry Get All Documents from BRC Connect Entries
Cause 4: External System Has No New Orders
Check:
- Log into external system admin
- Verify new orders exist
- Check order status (may need specific status to sync)
Solution:
- If no orders: No issue, working as expected
- If orders exist but not syncing: Check external system’s BC integration settings
- Verify Source ID in BRC Connect Setup matches external system config
Orders Download but Don’t Create Sales Orders
Symptom: Entries in BRC Connect Content with Status = “Error” or “Validated” (stuck)
Possible Causes and Solutions:
Cause 1: Automation Disabled
Check:
- Open BRC Connect Setup
- Review automation flags:
- Auto Read Content
- Auto Validate Content
- Auto Create Content
Solution:
- Enable appropriate automation flags
- Or manually process from BRC Connect Content:
- Select content record
- Actions → Read Content (if Status = New)
- Actions → Validate Content (if Status = Read)
- Actions → Create/Update BC Record (if Status = Validated)
Cause 2: Customer Not Found
Check:
- Open BRC Connect Error List
- Find error: “Customer not found” or similar
- Open BRC Connect Values for that content ID
- Check values for buyer email, phone, webId
Solution:
Option A: Create Customer Manually
- Open Customers
- Create new customer with matching email/phone
- Go back to BRC Connect Content
- Select errored record
- Actions → Reset Status
- Actions → Create/Update BC Record
Option B: Enable Auto-Create Customer
- Open BRC Connect Setup
- Set Auto Create/Update Customer = ON
- Configure customer template in BC
- Retry processing
Option C: Fix Unique Identifier Matching
- Open BRC Content Type Field Setup
- Verify unique identifier fields configured:
- buyer.email (Priority 1)
- buyer.phone (Priority 2)
- Check Case Sensitive Filtering settings
- Adjust as needed for your data
Cause 3: Item Not Found
Check:
- Open BRC Connect Error List
- Find error: “Item not found” or “Item reference not found”
- Review item SKU in error message
Solution:
Option A: Create Item Reference
- Open Items
- Find item in BC
- Open Item References (or Item Cross References)
- Add new reference:
- Reference Type: Customer or Vendor
- Reference No.: External SKU
- Unit of Measure: Each
- Retry processing
Option B: Enable Auto-Create Item
- Open BRC Connect Setup
- Set Auto Create/Update Item = ON
- Configure item template in BC
- Retry processing (creates item automatically)
Cause 4: Total Amount Mismatch
Check:
- Open BRC Connect Error List
- Find error: “Total amount mismatch” or “Document total does not match”
- Note difference amount
Solution:
If difference is small (rounding):
- Open BRC Connect Setup
- Increase Total Amt. Document Tolerance (e.g., from 0.5 to 1.0)
- Or enable Add Rounding Adjustment Line
- Retry processing
If difference is significant:
- Open BRC Connect Content for the order
- View JSON Content
- Check external line prices vs. BC prices
- Update BC prices if BC is wrong
- Or adjust Unit Price Rounding / Discount Rounding in setup
Disable total check (not recommended):
- Open BRC Connect Setup
- Set Disable Totals Check = ON
- Retry (warning: may hide pricing errors)
Cause 5: VAT Calculation Error
Check:
- Open BRC Connect Error List
- Find error: “VAT amount does not match”
Solution:
Option A: Fix VAT Setup
- Verify VAT posting groups configured correctly
- Check VAT % in BC matches external system
- Ensure item VAT prod. posting groups correct
Option B: Disable VAT Check
- Open BRC Connect Setup
- Set Disable VAT Check = ON
- Retry (system trusts external VAT calculations)
Inventory Not Syncing to External System
Symptom: Inventory changes in BC not reflecting on website/POS
Possible Causes and Solutions:
Cause 1: Auto Send Disabled
Check:
- Open BRC Connect Setup
- Verify Auto Send Inventory Update = ON
Solution:
- Enable Auto Send Inventory Update
- Existing inventory changes may need manual sync
Cause 2: Records Stuck in Queue
Check:
- Open BRC Outgoing Sync Queue
- Filter Synced = FALSE
- Check Last Error field
Solution:
- Review error messages
- Common issues: API down, item not found in external system
- Fix issue, then:
- Select records
- Actions → Retry Sending
Cause 3: Job Queue Not Running
Check:
- Open Job Queue Entries
- Filter Object ID to Run = 12073560 (BRC Process Outgoing Queue)
- Verify Status = Ready and running
Solution:
- If not running: Set Status = Ready
- If errored: Review error, fix, set to Ready
Cause 4: Item Not in External System
Check:
- Review error in BRC Outgoing Sync Queue: “Item not found”
- Verify item exists in external system
Solution:
- Sync item master data first before inventory
- Enable Auto Send Item Update in BRC Connect Setup
- Or manually sync item from Items page
Shipment Notifications Not Sending
Symptom: Posted shipments not notifying external system
Possible Causes and Solutions:
Cause 1: Auto Send Shipment Disabled
Check:
- Open BRC Connect Setup
- Verify Auto Send Shipment = ON
Solution:
- Enable Auto Send Shipment
- For past shipments, send manually from Posted Sales Shipments
Cause 2: Shipment Delay Not Expired
Check:
- Open BRC Connect Setup
- Check Auto Send Shipment Delay Minutes (e.g., 30)
- Verify shipment posted less than delay minutes ago
Solution:
- Wait for delay to expire
- Or reduce delay minutes for faster notification
- Or send manually (bypasses delay)
Cause 3: Order Not From BRC Connect
Check:
- Open Posted Sales Shipment
- Check if order has External ID or BRC Order indicator
- Only BRC-sourced orders auto-notify
Solution:
- Manually entered BC orders don’t auto-notify (working as designed)
- To notify: Manually add to BRC Outgoing Sync Queue
Payment Journal Lines Not Creating
Symptom: Orders process but no payment journal lines
Possible Causes and Solutions:
Cause 1: Payment Option Set to Ignore
Check:
- Open BRC Connect Setup
- Check Payment Option field
Solution:
- Change to Multiple Payments or One Payment
- Process new orders (setting not retroactive)
Cause 2: Payment Journal Not Configured
Check:
- Open BRC Connect Setup
- Verify Payment Journal Template and Batch filled
Solution:
- Configure journal template (usually “GENERAL”)
- Create dedicated batch (e.g., “WEB”)
- Retry orders
Cause 3: Payment Method Not Mapped
Check:
- Open BRC Connect Error List
- Find error: “Payment method not mapped”
- Note external payment method code
Solution:
- Open BRC Mapping
- Add new mapping:
- Source: (your source, e.g., SHOPIFY)
- BRC Connect Type: PAYMENT
- From: (external code, e.g., “credit_card”)
- To: (BC payment method, e.g., “CC”)
- Retry orders
Performance Issues
Symptom: Orders processing slowly, job queue timeouts
Possible Causes and Solutions:
Cause 1: Process Entry Max Count Too High
Check:
- Open BRC Connect Setup
- Check Process Entry Max Count
Solution:
- Reduce to 100-200 (from higher value)
- Increase No. of Minutes between Runs to compensate
Cause 2: Complex Validation Rules
Check:
- Review BRC Content Type Field Setup
- Count number of field mappings (>100 may slow processing)
Solution:
- Remove unused field mappings
- Optimize custom validation codeunits (if any)
- Consider caching frequently accessed data
Cause 3: Large JSON Documents
Check:
- Open BRC Connect Entries
- View Response Content size
- Check for orders with hundreds of lines
Solution:
- Increase job queue timeout in BC
- Split large orders in external system before sending
- Contact BrightCom for optimization guidance
Cause 4: Parallel Processing Not Enabled
Check:
- Open Job Queue Entries
- Count number of BRC Connect job entries
Solution:
- Create multiple job queue entries for same codeunit
- Stagger start times (0s, 10s, 20s, 30s apart)
- Monitor for lock contention
Diagnostic Tools
1. BRC Connect Entries - HTTP Log
Purpose: View all HTTP requests/responses
How to Use:
- Open BRC Connect Entries
- Filter by date, type, status
- View Request Content and Response Content fields
- Use JSON Viewer control add-in for formatted view
What to Look For:
- Status = “Error”: API communication failures
- Error Text: Specific error messages
- Response Content: External system error details
2. BRC Connect Content - Parsed Orders
Purpose: View orders after parsing, before creation
How to Use:
- Open BRC Connect Content
- Filter BRC Connect Type = DOCUMENT
- Filter Status = Error (for failed orders)
- View JSON Content for raw data
- Navigate to BRC Connect Values (drill-down) for parsed fields
What to Look For:
- Status = “Error”: Validation failures
- Error Text: Specific validation errors
- Missing values in Values table: Parsing issues
3. BRC Connect Values - Field Data
Purpose: View individual field values extracted from JSON
How to Use:
- From BRC Connect Content, choose Values action
- Review Field Name and Value Text
- Check for missing required fields
- Verify values match expected format
What to Look For:
- Empty values for required fields
- Incorrect value formats (e.g., text in numeric field)
- Values not matching BC options (e.g., unknown payment method)
4. BRC Connect Error List
Purpose: Central error dashboard
How to Use:
- Open BRC Connect Error List
- Filter by Error Type (Error vs. Warning)
- Filter by Date (Today, This Week)
- Sort by Entry No. or Content ID
What to Look For:
- Recurring errors: Systematic issue (fix root cause)
- One-off errors: Data quality issue (fix specific record)
- Error patterns: Configuration issue (adjust settings)
5. BRC Outgoing Sync Queue
Purpose: Monitor outbound synchronization
How to Use:
- Open BRC Outgoing Sync Queue
- Filter Synced = FALSE
- Review Last Error
- Check Error Count (high = repeated failures)
What to Look For:
- Old records not synced: Job queue not running
- High error count: Persistent API issue
- Specific items failing: Item not in external system
6. BRC Process Run Logs
Purpose: Job execution history and performance metrics
How to Use:
- Open BRC Process Run Logs
- Review Start Date Time, End Date Time, Duration
- Check No. of Entries Processed
- Review Error Message (if run failed)
What to Look For:
- Increasing duration: Performance degradation
- Failed runs: Job queue issues
- Low throughput: Configuration issue (increase max count)
7. Debug Mode
Purpose: Detailed logging for troubleshooting
How to Enable:
- Open BRC Connect Setup
- Set Debug Mode = ON
- Process orders
- Review detailed logs in entries
Warning: Debug mode logs full JSON including PII. Disable in production after troubleshooting.
What Gets Logged:
- Detailed HTTP headers
- Full request/response bodies
- Processing step timestamps
- Validation rule results
Error Message Reference
Document Errors
| Error Message | Cause | Solution |
|---|---|---|
| “Customer not found: {email}” | No customer match | Create customer or enable auto-create |
| “Item not found: {sku}” | No item reference | Add item reference or enable auto-create |
| “Total amount mismatch: Expected {x}, Calculated {y}” | Line totals ≠ document total | Adjust tolerance or check pricing |
| “VAT calculation error: Expected {x}, Calculated {y}” | VAT amounts don’t match | Verify VAT setup or disable VAT check |
| “Payment method not mapped: {method}” | External payment code unmapped | Add mapping in BRC Mapping |
| “Document already processed: {external ID}” | Duplicate order | Ignore if intentional, investigate if not |
| “Required field missing: {field}” | JSON missing required field | Fix external system data |
HTTP Errors
| Error Message | Cause | Solution |
|---|---|---|
| “Could not connect to remote server” | Network/DNS issue | Verify API Path, check network connectivity |
| “The remote server returned an error: (401) Unauthorized” | Invalid auth | Update bearer token |
| “The remote server returned an error: (403) Forbidden” | Access denied | Check IP whitelist, verify permissions |
| “The remote server returned an error: (404) Not Found” | Wrong endpoint | Verify API Path and type-specific paths |
| “The remote server returned an error: (429) Too Many Requests” | Rate limited | Reduce frequency, wait for rate limit reset |
| “The remote server returned an error: (500) Internal Server Error” | External system error | Check external system health, retry later |
| “The operation has timed out” | Request too slow | Increase timeout, check external system performance |
Validation Errors
| Error Message | Cause | Solution |
|---|---|---|
| “Quantity must be positive” | Zero or negative quantity | Fix external data |
| “Unit price must be positive” | Zero or negative price | Fix external data or BC price list |
| “Discount percent must be between 0 and 100” | Invalid discount | Fix external data |
| “Unit of Measure not found: {uom}” | Invalid UOM code | Create UOM or add mapping |
| “Location code not valid: {location}” | Unknown location | Create location or add mapping |
| “Dimension value not valid: {dimension}” | Unknown dimension | Create dimension value or remove mapping |
Advanced Troubleshooting
Enable Detailed Telemetry
For persistent issues, enable BC telemetry:
- BC Admin Center → Telemetry
- Filter for:
- Component: BRC Connect
- Severity: Error, Warning
- Export telemetry for analysis
- Share with BrightCom Support if needed
SQL Profiling (On-Premises Only)
For on-premises BC installations:
- Use SQL Server Profiler
- Filter for BRC Connect tables (ID range 12073500-12073968)
- Analyze slow queries
- Contact BrightCom for index optimization
Custom Logging
Add custom logging to event subscribers:
[EventSubscriber(ObjectType::Codeunit, Codeunit::BRCCreateDocumentMth, 'OnBeforeCreateDocument')]
local procedure LogDocumentCreation(var Content: Record "BRC Connect Content")
begin
// Custom logging here
Message('Creating document for external ID: %1', Content."External ID");
end
Contact Support
When contacting BrightCom Support, provide:
BC Environment Details
- BC version
- BRC Connect version
- Environment type (sandbox/production)
Error Details
- Error message (exact text)
- Entry No. or Content ID with error
- Timestamp when error occurred
Configuration
- Export BRC Connect Setup (screenshot or export)
- Relevant field mappings
- Job queue configuration
Logs
- BRC Connect Entries (filtered to timeframe)
- Telemetry export
- Screenshots of error messages
Steps to Reproduce
- Detailed steps to trigger error
- Sample JSON (sanitize PII)
- Expected vs. actual behavior
Preventive Measures
Regular Maintenance
Schedule these tasks:
Daily:
- Review BRC Connect Error List
- Check BRC Outgoing Sync Queue for stuck records
- Monitor Job Queue Entries for failures
Weekly:
- Review BRC Process Run Logs for performance trends
- Clean up old test data
- Verify automation settings still appropriate
Monthly:
- Archive old BRC Connect Entries (or configure auto-delete)
- Review and update field mappings
- Test backup/restore procedures
- Review bearer token expiration
Quarterly:
- Performance tuning review
- User permission audit
- Documentation updates
- Training refresher for users
Monitoring Alerts
Set up proactive monitoring:
Email Alerts
- Enable in BRC Connect Setup
- Sends email when errors exceed threshold
BC Telemetry Alerts
- Configure in BC Admin Center
- Alert on specific error patterns
External System Webhooks
- Configure external system to alert on BC integration failures
- Monitor external system’s integration health dashboard
Health Checks
Run these checks regularly:
// Orders processed today
BRC Connect Content
WHERE Status = OK
AND Created Date = TODAY
COUNT: Should match expected order volume
// Errors today
BRC Connect Error List
WHERE Date = TODAY
COUNT: Should be < 5% of total orders
// Outbound queue size
BRC Outgoing Sync Queue
WHERE Synced = FALSE
COUNT: Should be < 100
// Job queue health
Job Queue Entries
WHERE Object ID IN (12073522, 12073560)
STATUS: All should be "Ready" or "In Process"
Emergency Procedures
Critical Outage
If BRC Connect is completely non-functional:
Immediate Actions
- Set Integration Active = OFF (stops processing)
- Alert warehouse staff (orders won’t auto-process)
- Switch to manual order entry process
Assess Impact
- Check BC platform health (Microsoft 365 Service Health)
- Check external system health
- Review recent changes (BC updates, config changes)
Engage Support
- Contact BrightCom Support (critical issue)
- Provide environment details and error logs
- Request escalation if business-critical
Workaround
- Manual order entry from external system
- Export orders, import via RapidStart
- Temporary alternative integration (if available)
Recovery
- Follow support guidance
- Test in sandbox first if possible
- Re-enable Integration Active
- Monitor closely after recovery
Data Corruption
If data integrity issue suspected:
Stop Processing
- Set Integration Active = OFF
- Stop relevant job queue entries
Assess Scope
- Identify affected records
- Determine timeframe of corruption
- Check for pattern (specific type, source, date range)
Isolate Issues
- Mark corrupted records as Ignored in BRC Connect Content
- Prevent further damage
Fix and Retry
- Correct underlying issue (config, mapping, external data)
- Reset and reprocess clean data
- Monitor for recurrence
Post-Incident Review
- Document root cause
- Implement preventive measures
- Update procedures to prevent recurrence
Frequently Asked Questions
See FAQ for common questions and answers.