Skip to content

invalid_mail_relay_quota_request

Invalid mail relay quota request. HTTP status 400.

The body of `POST /api/v2/vps/{id}/mail-relay/quota-requests` is not valid. `requestedMonthlyLimit` must be a whole number in steps of 1,000 above the current limit, with `acknowledgePrepaidTerms` set to `true`.

What to do

Read the current monthlyLimit with GET /api/v2/vps/{id}/mail-relay. Send a higher requestedMonthlyLimit in steps of 1,000 with acknowledgePrepaidTerms: true. The errors pointer names the field to fix.

What the message says

  • `requestedMonthlyLimit` must be in 1,000-email increments.

Example

Response 400
{
"type": "https://developer.hostup.se/errors/invalid_mail_relay_quota_request",
"title": "Invalid mail relay quota request",
"status": 400,
"detail": "`requestedMonthlyLimit` must be in 1,000-email increments.",
"code": "invalid_mail_relay_quota_request",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.

Endpoints that return it