Troubleshooting
Troubleshooting
This guide helps you resolve common issues you might encounter while using Smobi. If you can’t find a solution here, please contact our support team.
Common Issues
Message Delivery Issues
Messages Not Being Delivered
Symptoms: Messages show as “FAILED” or “REJECTED” status
Possible Causes and Solutions:
-
Invalid Phone Number Format
- Issue: Phone number is not in the correct format
- Solution: Use E.164 format (e.g.,
+15552223333
) - Check: Verify phone number includes country code
-
Phone Number Not Added to Test Numbers
- Issue: Trying to send to a number not in your test list
- Solution: Add the phone number to your test numbers in brand settings
- Check: Go to Settings → Your Brand → Test Numbers
-
RCS Approval Pending
- Issue: Brand is not yet approved for RCS messaging
- Solution: Wait for RCS approval (4-6 weeks) or use SMS only
- Check: Verify brand approval status in dashboard
-
Rate Limits Exceeded
- Issue: Sending too many messages too quickly
- Solution: Implement rate limiting in your application
- Check: Monitor your message sending rate
Messages Delivered but Not Read
Symptoms: Messages show as “DELIVERED” but not “READ”
Possible Causes and Solutions:
-
Recipient’s Phone Settings
- Issue: Recipient has disabled read receipts
- Solution: This is normal behavior - not all phones support read receipts
- Check: Focus on delivery rate rather than read rate
-
Message Content Issues
- Issue: Message content may not be engaging
- Solution: Improve message content and add interactive elements
- Check: Test different message formats and content
Workflow Issues
Workflow Not Starting
Symptoms: Workflow execution fails to begin
Possible Causes and Solutions:
-
Workflow Not Published
- Issue: Workflow is in draft status
- Solution: Publish the workflow before executing
- Check: Verify workflow status in the workflow builder
-
Invalid Workflow ID
- Issue: Using incorrect workflow definition ID
- Solution: Copy the correct workflow ID from the dashboard
- Check: Verify workflow ID in the workflows list
-
API Key Issues
- Issue: Invalid or expired API key
- Solution: Generate a new API key in brand settings
- Check: Verify API key in your application
Workflow Stuck or Not Completing
Symptoms: Workflow starts but doesn’t complete
Possible Causes and Solutions:
-
Condition Node Issues
- Issue: Conditional logic is not working as expected
- Solution: Review condition configuration and test with different inputs
- Check: Use workflow testing tools to debug conditions
-
Message Node Failures
- Issue: Messages in workflow are failing to send
- Solution: Check message content and recipient phone numbers
- Check: Review message delivery status in analytics
-
Variable Issues
- Issue: Variables are not being populated correctly
- Solution: Verify variable names and values
- Check: Use workflow testing to inspect variable values
API Integration Issues
Authentication Errors
Symptoms: Receiving 401 Unauthorized errors
Possible Causes and Solutions:
-
Invalid API Key
- Issue: API key is incorrect or expired
- Solution: Generate a new API key in brand settings
- Check: Verify API key is copied correctly
-
Missing API Key
- Issue: API key not included in request headers
- Solution: Include API key in
x-api-key
header - Check: Verify request headers in your code
-
Wrong Environment
- Issue: Using production API key in development or vice versa
- Solution: Use the correct API key for your environment
- Check: Verify environment configuration
Rate Limiting Errors
Symptoms: Receiving 429 Too Many Requests errors
Possible Causes and Solutions:
-
Exceeding Rate Limits
- Issue: Sending too many requests too quickly
- Solution: Implement exponential backoff and retry logic
- Check: Monitor your request rate
-
Batch Size Too Large
- Issue: Sending too many items in a single batch
- Solution: Reduce batch size to stay within limits
- Check: Review batch size limits in API documentation
Webhook Issues
Webhooks Not Being Received
Symptoms: No webhook events reaching your endpoint
Possible Causes and Solutions:
-
Endpoint Not Accessible
- Issue: Webhook URL is not publicly accessible
- Solution: Ensure your endpoint is accessible via HTTPS
- Check: Test webhook URL accessibility
-
Incorrect Webhook URL
- Issue: Webhook URL is incorrect in brand settings
- Solution: Update webhook URL in brand settings
- Check: Verify webhook configuration
-
Firewall or Network Issues
- Issue: Network blocking webhook requests
- Solution: Check firewall settings and network configuration
- Check: Test webhook endpoint from external sources
Webhook Signature Verification Failures
Symptoms: Webhook signature verification failing
Possible Causes and Solutions:
-
Incorrect Webhook Secret
- Issue: Webhook secret doesn’t match
- Solution: Verify webhook secret in your application
- Check: Compare webhook secret with brand settings
-
Payload Format Issues
- Issue: Payload format has changed
- Solution: Update webhook handler to match current format
- Check: Review webhook payload documentation
Brand Setup Issues
Brand Registration Problems
Symptoms: Unable to complete brand registration
Possible Causes and Solutions:
-
Missing Required Fields
- Issue: Required fields not completed
- Solution: Fill in all required fields in the brand form
- Check: Review brand registration form
-
Image Format Issues
- Issue: Logo or header images don’t meet requirements
- Solution: Use PNG/JPG format, correct dimensions, and file size
- Check: Verify image requirements (max 5MB, correct dimensions)
-
Website URL Issues
- Issue: Website URL is not accessible
- Solution: Ensure website is publicly accessible
- Check: Test website URL in browser
RCS Approval Delays
Symptoms: RCS approval taking longer than expected
Possible Causes and Solutions:
-
Normal Processing Time
- Issue: RCS approval typically takes 4-6 weeks
- Solution: Wait for approval process to complete
- Check: Monitor approval status in dashboard
-
Incomplete Brand Information
- Issue: Brand information may be incomplete
- Solution: Ensure all brand information is complete and accurate
- Check: Review and update brand information
Error Codes and Meanings
API Error Codes
Message Status Codes
Debugging Tools
API Debugging
Enable Debug Logging
Check Request/Response
Workflow Debugging
Use Workflow Testing
- Test with Personal Number: Use your phone number for testing
- Step-by-Step Execution: Execute workflows one node at a time
- Variable Inspection: Check variable values at each step
- Execution Logs: Review detailed execution logs
Common Debugging Steps
- Verify Workflow Status: Ensure workflow is published
- Check Node Configuration: Verify all nodes are properly configured
- Test Variables: Ensure variables are being populated correctly
- Monitor Execution: Watch real-time execution in workflow builder
Webhook Debugging
Test Webhook Endpoint
Monitor Webhook Delivery
- Check Server Logs: Monitor your webhook endpoint logs
- Verify HTTPS: Ensure endpoint uses HTTPS
- Test Signature: Verify webhook signature validation
- Check Response: Ensure endpoint returns 200 status code
Performance Optimization
Message Sending Optimization
Batch Processing
Rate Limiting
Workflow Optimization
Efficient Variable Usage
- Minimize Variables: Use only necessary variables
- Optimize Conditions: Use simple, efficient conditional logic
- Reduce Delays: Minimize unnecessary delays in workflows
- Monitor Performance: Track workflow execution times
Caching Strategies
Getting Help
When to Contact Support
Contact our support team if you encounter:
- Persistent API Errors: Errors that continue after troubleshooting
- Service Outages: Platform-wide issues affecting your service
- Security Concerns: Suspected security issues or breaches
- Feature Requests: Questions about platform capabilities
- Account Issues: Problems with account access or billing
Information to Provide
When contacting support, please provide:
- Error Details: Complete error messages and codes
- Reproduction Steps: Steps to reproduce the issue
- Environment Information: API keys, environment, timestamps
- Logs: Relevant application logs and error details
- Expected vs Actual Behavior: What you expected vs what happened
Support Channels
- Email: support@smobi.com
- Documentation: Check this troubleshooting guide first
- Community: Join our developer community for peer support
- Status Page - Check platform status for known issues
Prevention Best Practices
Proactive Monitoring
Set Up Alerts
Regular Health Checks
- API Connectivity: Test API connectivity regularly
- Webhook Delivery: Monitor webhook delivery success rates
- Message Delivery: Track message delivery rates
- Workflow Performance: Monitor workflow completion rates
Documentation and Logging
Comprehensive Logging
Documentation
- API Usage: Document your API integration patterns
- Error Handling: Document error handling strategies
- Configuration: Document environment configuration
- Procedures: Document troubleshooting procedures
Next Steps
- Quick Start Guide - Review basic setup
- TypeScript SDK - Check SDK usage
- Webhooks Setup - Verify webhook configuration
- Testing & Playground - Use testing tools
- Support & Resources - Get additional help