Error Codes - Developers

Home / Error Codes - Developers

Error Codes

The RukkyHub API returns HTTP status codes and JSON error messages to help you debug issues. Always check the response body for details.

HTTP Status Codes

200
OK
The request succeeded. The response contains the requested data.
400
Bad Request
Invalid request. Check your parameters. Common causes: missing required field, invalid quantity, insufficient balance.
403
Forbidden
API access inactive, key restricted by whitelist, action not allowed by scope/plan, or invalid PIN.
422
Validation Error
One or more fields failed validation. The response body specifies which fields are invalid.
429
Too Many Requests
Rate limit exceeded for your API plan. Wait and retry. Use exponential backoff.
500
Internal Server Error
Something went wrong on our end. Check the response message and retry later. Contact support if it persists.

Common Error Messages

The action field is required
Missing action
You must include the action parameter in every request.
The api key field is required
Missing API key
Send your key via X-API-KEY header or key body parameter.
Invalid api key
Invalid key
The API key is wrong, revoked, or does not exist.
This credential is no longer
Account disabled
Your account has been deactivated. Contact support.
Invalid action
Unknown action
The action value is not recognized. Check the API Reference for valid actions.
This API key is not allowed for this action
Scope restriction
Your API key's scopes do not include this action. Create a new key with the required scope.
VTU API access is not enabled for your plan
VTU not enabled
Your API plan does not include VTU access. Upgrade to a plan with VTU enabled.
SMM API access is not enabled for your plan
SMM not enabled
Your API plan does not include SMM access. Upgrade to a plan with SMM enabled.
Invalid Service Id
Invalid service
The service ID does not exist or is inactive.
Please follow the limit
Quantity out of range
The quantity is below the minimum or above the maximum for this service.
Insufficient balance
Low balance
Your wallet balance is too low for this order. Top up and try again.
Incorrect PIN
Wrong PIN
The 4-digit PIN you entered is incorrect. Check your account security settings.
API key is restricted to whitelisted domains
Domain whitelist mismatch
The request origin does not match any domain in the API key's whitelist. The response includes detected_domain showing what was received. Update your whitelist or send the correct X-API-ORIGIN header.
Rate limit exceeded
Rate limit hit
You have exceeded your plan's requests-per-minute limit. The response includes reset_in seconds. Back off and retry.
Invalid or inactive gift card type
Gift card type invalid
The giftcard_type_id does not exist or is inactive. Use action=giftcard_cards to get valid IDs.
Amount must be between X and Y
Gift card amount out of range
The amount is outside the min/max range for the selected gift card type. Check action=giftcard_cards for limits.
No-KYC per-transaction VTU limit exceeded
KYC limit
Your account has not completed KYC verification and the VTU amount exceeds the no-KYC per-transaction limit.
No-KYC daily VTU limit exceeded
Daily KYC limit
Your account has not completed KYC verification and the daily VTU spending limit has been reached.

Error Response Format

Errors return a consistent JSON structure:

// Simple error
{
  "error": "Insufficient balance"
}

// Validation errors
{
  "errors": {
    "service": ["The selected service is invalid."],
    "quantity": ["The quantity field is required."]
  }
}

// Both error and errors can be present:
{
  "error": "Insufficient balance",
  "errors": {
    "balance": ["Your account balance is too low for this order"]
  }
}

Supported Service Interfaces

Secure payment gateways, automation providers, and infrastructure.

Rukkyhub processes personal data only to provide services, ensure security, and meet legal requirements. We do not sell user data. By using this site, you consent to our data processing in accordance with GDPR. learn more

Allow