500
Internal error
https://api.quotastack.io/errors/internal-error
The import broke partway through. QuotaStack rolled the whole thing back.
Why it happened
- The import hit an error, and the reply carries the raw text.
- This slug comes only from the import call. The rest of QuotaStack sends
internalinstead.
How to fix it
- Read
detail. The text is the real error, and it usually names the record at fault. - Run it again with
options.dry_run: true, to see how far it gets. - Send the import again with the same
Idempotency-Keyonce the cause is fixed.
Example response 500
{
"type": "https://api.quotastack.io/errors/internal-error",
"title": "Internal Server Error",
"status": 500,
"detail": "create purchase: context deadline exceeded"
} Which calls return this
GET /v1/customersPOST /v1/customersGET /v1/customers/{id}PATCH /v1/customers/{id}DELETE /v1/customers/{id}GET /v1/customer-by-external-id/{external_id}PATCH /v1/customer-by-external-id/{external_id}DELETE /v1/customer-by-external-id/{external_id}GET /v1/customers/{customer_id}/creditsPOST /v1/customers/{customer_id}/credits/grantPOST /v1/customers/{customer_id}/credits/adjustGET /v1/customers/{customer_id}/credits/historyGET /v1/customers/{customer_id}/overageGET /v1/customer-by-external-id/{external_id}/creditsPOST /v1/customer-by-external-id/{external_id}/credits/grantPOST /v1/customer-by-external-id/{external_id}/credits/adjustGET /v1/customer-by-external-id/{external_id}/credits/historyGET /v1/customer-by-external-id/{external_id}/overageGET /v1/entitlements/checkPOST /v1/usagePOST /v1/usage/batchPOST /v1/imports/customersPOST /v1/subscriptionsGET /v1/audit-log
See also
● raw markdown · internal-error.md ↗ — this is exactly what an agent fetches
Loading…