Troubleshooting
Common issues and solutions for Cloud Platform.
Authentication Issues
"Unauthorized" Error
Symptom: API requests return 401 Unauthorized
Solutions:
- Check API token is valid
- Verify token is included in Authorization header
- Check token hasn't been revoked
- Regenerate token if needed
# Verify token
curl -X GET \
-H "Authorization: Bearer $MSH_API_TOKEN" \
https://api.msh.io/api/msh/projects/
"Forbidden" Error
Symptom: API requests return 403 Forbidden
Solutions:
- Check token has access to the project
- Verify project ID is correct
- Check user permissions
Metadata Upload Issues
Upload Fails
Symptom: Metadata upload returns error
Solutions:
- Check context pack format is valid JSON
- Verify project ID exists
- Check API token permissions
- Review error message for details
# Validate context pack
msh ai context --json | jq .
# Try upload again
curl -X POST \
-H "Authorization: Bearer $MSH_API_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"context_pack\": $(cat context.json), \"source\": \"cli\"}" \
https://api.msh.io/api/msh/metadata/projects/$MSH_PROJECT_ID/upload
Assets Not Syncing
Symptom: Assets don't appear in Cloud Platform
Solutions:
- Check upload was successful
- Verify asset IDs are unique
- Check for duplicate assets
- Review sync response for errors
Glossary Issues
Terms Fail to Create
Symptom: Term creation returns error
Solutions:
- Check term ID is unique
- Verify required fields are present
- Check for duplicate terms
- Review error message
Links Fail to Create
Symptom: Term linking returns error
Solutions:
- Verify term exists
- Check asset exists
- Verify column name is correct
- Check for duplicate links
AI Feature Issues
"AI config not set"
Symptom: AI features return configuration error
Solutions:
- Configure AI provider in project settings
- Check AI provider is enabled
- Verify model is available
- Check API quota
Semantic Search Returns No Results
Symptom: Search returns empty results
Solutions:
- Check metadata is uploaded
- Try different query wording
- Check entity types filter
- Verify project ID is correct
Query Console Fails
Symptom: Query execution fails
Solutions:
- Check warehouse connection is configured
- Verify SQL is valid
- Check query limits
- Review error message
Rate Limiting
"Rate limit exceeded"
Symptom: API requests return rate limit error
Solutions:
- Wait for rate limit reset
- Upgrade to higher tier
- Reduce request frequency
- Implement request queuing
Check Rate Limits:
curl -X GET \
-H "Authorization: Bearer $MSH_API_TOKEN" \
-I https://api.msh.io/api/msh/projects/
# Check X-RateLimit-* headers
CI/CD Issues
Sync Fails in CI/CD
Symptom: Automated sync fails in pipeline
Solutions:
- Check secrets are set correctly
- Verify API token has correct permissions
- Check project ID is correct
- Review CI/CD logs
Webhook Not Triggering
Symptom: Webhook not called
Solutions:
- Check webhook URL is configured
- Verify webhook is enabled
- Check webhook endpoint is accessible
- Review webhook logs
Getting Help
If you're still experiencing issues:
- Check Documentation: Review relevant documentation pages
- Review Error Messages: Check error details for clues
- Contact Support: Reach out to support@msh.io
- Check Status: Visit status.msh.io
Related Documentation
- Getting Started - Initial setup
- API Reference - API documentation
- Integration Guide - CI/CD integration