Skip to content
Search documentation/

Response could not be published

internal_response_contractHTTP 500Retry after a wait

What happened

The request may have completed, but its response couldn't be sent safely.

What to do next

After a short wait, read the object again or repeat the request with the same Idempotency-Key.

Can you retry?

Retry after a wait. Repeat the identical request after the Retry-After delay, or after a short wait when none is given, with the same Idempotency-Key and body. retry: after_delay

Who acts

PerionPayments. who_acts: perionpayments

Don't

  • Don't retry with a new Idempotency-Key; a new key is a new request. change_idempotency_key
  • Don't start another payment for the same order. create_another_payment

Example response

Sent as application/problem+json. The detail describes the particular request; keep request_id for support.

{
  "type": "https://docs.perionpayments.com/problems/internal-response-contract",
  "title": "Response could not be published",
  "status": 500,
  "code": "internal_response_contract",
  "detail": "The request may have completed, but its response couldn't be sent safely.",
  "request_id": "req_8YkQ2rL0ZtW4",
  "retryable": true,
  "retry": "after_delay",
  "who_acts": "perionpayments",
  "next_step": "After a short wait, read the object again or repeat the request with the same Idempotency-Key.",
  "do_not": [
    "change_idempotency_key",
    "create_another_payment"
  ]
}

All problem codes · Reading problem responses