Response Codes
Comprehensive guide to Nimble Web API response codes, error handling, and troubleshooting.HTTP Status Codes
Success Codes
200 OK
Request completed successfully.202 Accepted
Request accepted for processing (async operations).Client Error Codes
400 Bad Request
Invalid request parameters.401 Unauthorized
Invalid or missing API key.403 Forbidden
Access denied or insufficient permissions.404 Not Found
Endpoint or resource not found.422 Unprocessable Entity
Valid request but cannot be processed.429 Too Many Requests
Rate limit exceeded.Server Error Codes
500 Internal Server Error
Unexpected server error.502 Bad Gateway
Upstream service unavailable.503 Service Unavailable
Service temporarily unavailable.Scraping-Specific Codes
Target Website Errors
URL_NOT_ACCESSIBLE
Target URL returned an error or is inaccessible.TIMEOUT_EXCEEDED
Request timed out before completion.BLOCKED_REQUEST
Request was blocked by the target website.Content Processing Errors
RENDER_ERROR
JavaScript rendering failed.PARSING_ERROR
Failed to parse response content.Action-Specific Errors
ELEMENT_NOT_FOUND
Required element not found on page.ACTION_FAILED
Page interaction action failed.Warning Codes
Partial Success
Content Warnings
Error Handling Best Practices
Retry Logic
Status Code Handling
Monitoring Response Codes
Dashboard Metrics
Monitor common response codes in your dashboard:- Success rate: Percentage of successful requests
- Error breakdown: Distribution of error types
- Response times: Average and 95th percentile times
- Rate limit hits: Frequency of 429 responses
Alerting
Set up alerts for:- High error rates (>5% failures)
- Frequent timeouts (>10% timeout errors)
- Rate limit violations (repeated 429s)
- Service availability (502/503 errors)
SDK Error Handling
Node.js
Python
Troubleshooting Guide
Common Issues
401 Unauthorized
- Check API key is correct and active
- Verify headers include proper Authorization
- Check account status for suspensions
429 Rate Limit
- Implement exponential backoff with retry logic
- Reduce request frequency or upgrade plan
- Use batch processing for multiple URLs
URL_NOT_ACCESSIBLE
- Verify target URL is accessible in browser
- Check for redirects or changed URLs
- Try different proxy locations if geo-blocked
TIMEOUT_EXCEEDED
- Increase timeout for slow-loading sites
- Disable JavaScript rendering if not needed
- Use simpler selectors for page interactions
Support Contact
For persistent issues:- Include request_id from error responses
- Provide example URLs that are failing
- Share relevant error messages and codes
- Mention your plan type and usage patterns

