Skip to main content

Troubleshooting

Common issues and solutions for referral partner integrations.

Client Onboarding

IssueCauseSolution
409 ClientExistsNeedsLinkingClient already exists in DebituraPresent the approval URL to the client. See Client Onboarding.
409 AlreadyLinkedToAnotherPartnerClient linked to another partnerContact Debitura support. Only one partner link per client.
409 AlreadyLinkedDifferentTenantClient already linked with different tenant IDUse the existing externalTenantId for this client.
Link request expired7-day expiry passedCall POST /clients again to generate a new link request.
Onboarding not completingClient didn't finish flowResend the onboarding URL. Check if they received it.

Authentication

IssueCauseSolution
401 Unauthorized on Referral APIInvalid API keyVerify the XApiKey header. Keys are environment-specific.
401 Unauthorized on Customer APIExpired bearer tokenTokens expire after 30 minutes. Mint a new token.
Wrong environment dataMixed test/production keysEnsure you're using matching API keys and base URLs.

See Authentication for the two-layer auth model.

Case Creation

IssueCauseSolution
422 MissingDebtCollectionContractClient hasn't signed SDCAPresent the solutionUrl for contract signing, then retry.
422 MissingPowerOfAttorneyPoA needed for jurisdictionPresent the solutionUrl for PoA signing, then retry.
422 CreditorBlockedClient account blockedContact Debitura support. Check the error message for the reason.
422 NoPartnerAvailableJurisdiction not supportedShow "not supported" message. Don't auto-retry. See unsupported jurisdictions.
400 Bad RequestInvalid field valuesCheck required fields. See Create a Case.

See Error Handling for the full error response format.

Unsupported Jurisdictions

When Debitura doesn't have a collection partner for a jurisdiction, case creation returns 422:

{
"BusinessRule": ["We don't have an exclusive pre-legal partner in the provided jurisdiction"]
}

Handling:

  • Show a clear message: "This jurisdiction is not currently supported"
  • Don't auto-retry—this won't change until coverage is added
  • Optionally provide a fallback (manual review, contact support)

Coverage changes over time. Check the API response as the source of truth.

Webhooks

IssueCauseSolution
Signature verification failingWrong secret or encodingUse raw request body (not parsed JSON). See Webhook Security.
Missing eventsWebhook disabledCheck subscription status. Webhooks auto-disable after 8 failed deliveries.
Duplicate eventsAt-least-once deliveryImplement idempotency using event.id. See Best Practices.
Need to test webhook handlerCan't trigger real events easilyUse Trigger Test Webhooks to fire events on-demand (test environment only).

Client Management

IssueSolution
Need to re-test onboarding with same emailUse the Reset Test Clients endpoints (test environment only)
Client has active cases blocking deletionClose or delete the cases first, then retry

Contact Support

For issues not covered here, contact contact@debitura.com.