API ERRORS

422 Deal has no primary contact

https://sealdeal.ai/errors/deal-has-no-contact

The activity could not be logged because the deal has no primary contact to anchor it to. Every activity row is attached to a person as well as a deal.

Retry only after changing the request

What causes it

  • The deal was created without primaryContactId and no contact has been attached since.

How to fix it

  • Create the person with POST /contacts (or find them with GET /contacts?email=), set primaryContactId on the deal with PATCH /deals/{id}, then retry.

Example response

HTTP/1.1 422
Content-Type: application/problem+json

{
  "type": "https://sealdeal.ai/errors/deal-has-no-contact",
  "title": "Deal has no primary contact",
  "status": 422,
  "detail": "..."
}

`type` is stable and safe to branch on in code. `detail` is specific to your request and is the field to read for the particulars; its wording may change.

All error types · API documentation · Integrations

Related errors: 404 Not found · 400 Bad request · 409 Conflict · 409 List has in-flight sequences · 422 Stage gate not met