503 Error: Remove conversational skill provider
When creating assistants after migrating from Full mode to agentic_assistant mode, you get a 503 error.
- Symptoms
- See the "error": "Provider failed to receive /subscriber_event", "code": 503
- Solution
-
- Backup current state (RECOMMENDED)
Before making changes, backup the affected tables:
Verify backups were created:# Connect to postgres pod POD_NAME=$(oc get pods -l app=wo-wa-postgres-16 -o jsonpath='{.items[0].metadata.name}') DATABASE_NAME="conversation_pprd_wo-wa" # Create backups oc exec $POD_NAME -- pg_dump -U postgres -d $DATABASE_NAME -t integration > /tmp/integration_backup.sql oc exec $POD_NAME -- pg_dump -U postgres -d $DATABASE_NAME -t catalog_integration > /tmp/catalog_integration_backup.sql oc exec $POD_NAME -- pg_dump -U postgres -d $DATABASE_NAME -t conversational_skill_provider > /tmp/conversational_skill_provider_backup.sqlls -lh /tmp/*backup.sql - Execute deletion (IN ORDER)
Run these commands in the exact order shown to maintain referential integrity.
- Delete integration
records
Expected output:POD_NAME=$(oc get pods -l app=wo-wa-postgres-16 -o jsonpath='{.items[0].metadata.name}') DATABASE_NAME="conversation_pprd_wo-wa" oc exec $POD_NAME -- psql -U postgres -d $DATABASE_NAME -c " DELETE FROM integration WHERE name = 'Conversational Skill Provider Integration'; "DELETE X(where X is the number of rows deleted) - Delete catalog integration
records
Expected output:oc exec $POD_NAME -- psql -U postgres -d $DATABASE_NAME -c " DELETE FROM catalog_integration WHERE title = 'Conversational Skill Provider'; "DELETE X - Delete conversational skill provider
records
Expected output:oc exec $POD_NAME -- psql -U postgres -d $DATABASE_NAME -c " DELETE FROM conversational_skill_provider; "DELETE X
- Delete integration
records
- Verify deletionConfirm all records are removed:
Expected output:POD_NAME=$(oc get pods -l app=wo-wa-postgres-16 -o jsonpath='{.items[0].metadata.name}') DATABASE_NAME="conversation_pprd_wo-wa" # Check conversational_skill_provider oc exec $POD_NAME -- psql -U postgres -d $DATABASE_NAME -c " SELECT COUNT(*) as provider_count FROM conversational_skill_provider; "provider_count = 0
Expected output:# Check catalog_integration oc exec $POD_NAME -- psql -U postgres -d $DATABASE_NAME -c " SELECT COUNT(*) as catalog_count FROM catalog_integration WHERE title = 'Conversational Skill Provider'; "catalog_count = 0
Expected output:# Check integration oc exec $POD_NAME -- psql -U postgres -d $DATABASE_NAME -c " SELECT COUNT(*) as integration_count FROM integration WHERE name = 'Conversational Skill Provider Integration'; "integration_count = 0 - Test Assistant creation
- Backup current state (RECOMMENDED)