Find solutions to common issues and errors when working with the Eseni API and SDKs.
Request missing valid API key or authentication credentials.
Authorization: Bearer YOUR_KEY
API requests exceeded your plan's rate limit.
Retry-After
header for wait timeInvalid request format or missing required parameters.
Content-Type: application/json
Temporary service disruption. The API is currently unavailable.
Retry-After
time in response header
fetch('https://api.eseni.dev/v1/endpoint', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
})
.catch(error => {
console.error('Network error:', error);
// Handle retry logic here
})
.then(response => {
if (response.status === 429) {
console.log('Rate limited, retrying in:', response.headers.get('Retry-After'));
}
return response.json();
})
.then(data => {
// Handle response
});
import requests
response = requests.get('https://api.eseni.dev/v1/endpoint',
headers={'Authorization': 'Bearer YOUR_API_KEY'})
if response.status_code == 401:
print('Authentication required')
elif response.status_code == 429:
retry_after = response.headers.get('Retry-After')
print(f'Rate limited. Retry after {retry_after or "wait time"} seconds')
Verify headers include required authentication and content type information:
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Accept: application/json
Ensure your API client isn't blocked by CORS in browser environments. Use a proxy if necessary.
Access-Control-Allow-Origin: https://your-origin.com
Our support team and community are here to help you resolve complex issues.