Troubleshooting & Support
Common Issues
Issue: Invalid API key format
# Check your API key starts with 'rlk_'
curl -H "Authorization: Bearer rlk_your_key_here" ...
Issue: Smartlink URL already exists
# Try a different URL or check existing smartlinks
{
"configuration": {
"smartlinkUrl": "unique-url-name-123"
}
}
Issue: Configuration validation failed
# Check all required fields are present and within limits
{
"error": "Configuration validation failed",
"details": [/* Specific validation errors */]
}
Debug Mode
Enable detailed logging in your application:
const DEBUG = process.env.NODE_ENV === 'development';
async function apiCall(endpoint, data) {
if (DEBUG) {
console.log('API Request:', { endpoint, data });
}
const response = await fetch(endpoint, data);
if (DEBUG) {
console.log('API Response:', {
status: response.status,
headers: Object.fromEntries(response.headers.entries())
});
}
return response;
}
Support
For API support and questions:
- 📧 Email: [email protected]
- 📚 Documentation: This guide and inline API documentation
- 🐛 Bug Reports: Include API request/response details
- 💡 Feature Requests: We welcome feedback for API improvements