Skip to main content

Errors & Request IDs

Every Partner API error has the same shape, on every endpoint:

{
"status_code": 422,
"error": {
"code": "validation_failed",
"message": "Prospect invalid.",
"details": [
{
"field": "prospect.unit.external_system_id",
"code": "already_linked",
"message": "names a unit already linked to another id"
}
]
},
"request_id": "6f1c2b9e-7d4a-4c1e-9a55-0b8f3d2e1a77"
}

Branch on the codes, never on the messages. Codes are stable. Messages are written for a person reading a log and may be reworded.

error​

FieldMeaning
codeWhat kind of refusal this is, from the status (see below)
messageA one-line summary for a person
detailsOne entry per refused field. Always present; empty when no field is to blame

error.code follows the HTTP status:

StatuscodeMeaning
400bad_requestThe body is not valid JSON, a required wrapper key such as prospect or endpoint is missing, or a filter on the provider deliveries list is not usable
401unauthorizedThe gateway's call to Greenlight failed its internal signature check. Nothing in your request causes this: retry, and report the request_id if it persists. A missing or invalid token is refused earlier, by the gateway, with a different body: see Token failures
403forbiddenAuthenticated, but not granted access to this owner or provider
404not_foundThe owner or record does not exist, or exists under an owner you are not granted
409conflictThe request conflicts with the record's state, such as retrying a delivery that has not failed, or canceling a prospect the renter has paid for
422validation_failedOne or more fields were refused. Every 422 has at least one detail
502, 503upstream_unavailableThe API gateway could not reach Greenlight, or got no usable answer from it. Greenlight may still have received the request: retry with backoff only a request that is safe to repeat. For anything else, check whether it took effect before sending it again. request_id is null
504upstream_unavailableGreenlight did not answer the API gateway in time. The request may still have been applied, so retry with backoff only a request that is safe to repeat, such as an upsert keyed on your own id. For anything else, such as creating a webhook endpoint, check whether it took effect before sending it again, for example by listing your endpoints. request_id is null

A path that matches no endpoint also returns 404, but not in this shape: check the path and method against the API reference.

details​

Each detail names one refused field:

FieldMeaning
fieldThe dotted path to the value in your request body, such as prospect.unit.external_system_id or residents.2.email. List items are indexed from 0. null when the record as a whole is refused, or when the problem is in data Greenlight derives rather than a value you sent
codeWhy the field was refused, in snake_case
messageReads after the field name: "can't be blank", not "Email can't be blank"

On the collection endpoints (properties, units, bank accounts) a batch still answers 200, and each failed item carries the same error object. Its field paths are relative to the item:

{
"status_code": 200,
"results": [
{ "external_system_id": "acme-prop-123", "action": "created" },
{
"external_system_id": "acme-prop-125",
"action": "failed",
"error": {
"code": "validation_failed",
"message": "Property invalid.",
"details": [
{
"field": "building_name",
"code": "ambiguous",
"message": "several existing buildings match and nothing separates them"
}
]
}
}
],
"meta": { "created": 1, "updated": 0, "failed": 1 },
"request_id": "6f1c2b9e-7d4a-4c1e-9a55-0b8f3d2e1a77"
}

Field codes​

Common validation codes appear on any endpoint: blank, required, taken, inclusion, invalid, too_long, wrong_length, not_a_number, not_an_integer, greater_than, less_than_or_equal_to, not_a_boolean, not_a_string.

Codes specific to the roster, prospect, move-out and policy change request endpoints:

CodeEndpointMeaning
already_linkedproperties, units, bank accounts, prospectsThe record this item matched already carries a different external_system_id, or the id already names another record
ambiguousproperties, unitsSeveral existing records match and nothing in the item separates them
not_a_datemove-outs, move-out payment attestations, policy change requestsThe value is not a real day written as YYYY-MM-DD. Other date forms, such as 11/02/2026, 20261102 or 2026-W45-1, are refused.
out_of_grantproperties, units, prospectsThe building is not one you have been granted
unknown_buildingunits, prospectsproperty_external_id names no building you have registered
wrong_buildingunitsThe unit is linked to a different building than property_external_id names
property_lockedunitsThe unit's building cannot be changed
single_unit_propertyunitsA second unit was sent for a single_family or garden_community building
not_a_building, not_a_unitproperties, unitsThe external_system_id already names a record of the other kind
not_derivableunitsNo name was sent and none could be derived from the address
unknown_property_type, unknown_pms, unknown_bank_accountpropertiesThe value is not one Greenlight recognizes
unknown_coverage_type, not_positiveproperties, unitsdefault_coverage is malformed
pms_authority_plannedproperties, unitsCoverage cannot be set while the building is moving to PMS-sourced data
contendedproperties, units, prospect cancel and reinstateAnother write held one of the records. Resend the item, or the request
movedprospectsOn canceled: it is no longer a field. Use the prospect's /cancel and /reinstate endpoints
names_another_recordbank accountsThe external_system_id already names a property or unit
locked_by_claimsbank accountsRouting and account numbers cannot change once claims are attached; register a new account
default_requiredbank accountsdefault cannot be cleared; send default: true on the account that should hold it
not_whole_cents, not_a_list_of_origins, not_https_originsproperty ownersmax_coverage_amount_cents is not whole cents, embedded_frame_ancestors is not an array of strings, or one of its entries is not a bare https origin
no_roster_providerprospectsThe source does not support property and unit objects
conflicts_with_rosterprospectsA pms_* field was sent alongside property or unit
phone_invalidprospectsphone is not 10 digits after normalization
application_submittedprospectsThe renter has paid. On an update, the field can't change. On a 409 from cancel or reinstate, with field: null, the prospect can't be canceled or reinstated
required_when_has_ssn, must_be_blank_when_no_ssnprospectsOn social_security_number: it is missing while has_ssn is true, or sent while has_ssn is false
reservedmove-outsexternal_id starts with yardi:, realpage: or pm:, which Greenlight reserves for move-outs it opens from Yardi or RealPage, or that a property manager opens in Greenlight
not_resendablemove-out consentThe consent request cannot be resent from its current state
too_large, unsupported_type, not_base64brandingThe logo is over 1 MB, not a png, jpeg or svg, or not base64 encoded
unsafe_svgbrandingThe SVG logo has no viewBox, or contains a script, an event handler, a <foreignObject>, animation, declarations inside a DOCTYPE, a backslash in CSS, or a reference outside the file
unreadable_svgbrandingThe SVG logo passed those checks but couldn't be rendered
not_an_objectbrandingThe body is not a JSON object
lightness_out_of_range, low_page_contrast, low_text_contrastbrandingbrand_color is too dark or too light, does not contrast enough with the white page, or brand_text_color does not contrast enough with brand_color
own_hostwebhook endpointsdestination_url is on a Greenlight host
internal_hostwebhook endpoint pingdestination_url resolves to a private, loopback or link-local address
not_a_timestampprovider webhook deliveriescreated_after or created_before is not an ISO 8601 timestamp
reset_failedtest resetThe staging reset could not complete; field is null and message says why

On a 400 from the provider deliveries list, /partners/providers/{provider}/webhooks/deliveries, field names the query parameter that was refused, such as status: not_a_string when it was sent as a list or object (status[]=failed), inclusion when it is not an accepted value, and not_a_timestamp as above.

A body whose shape is wrong as a whole (not an array, or over the item limit) is a 422 with one detail whose field is null: not_an_array or too_many_items. Bank accounts also refuse an empty array, with blank.

Request IDs​

Every response body, success or error, carries request_id: the id Greenlight logged the request under. It is also returned as the X-Request-Id response header, which is the only place to find it on a 204 with no body. Quote it when you report a problem. It is how Greenlight finds the exact call.

To tie a call to your own records, send X-Partner-Request-Id with any value up to 128 characters, such as your lease or job id. Greenlight records it alongside its own request id and echoes it back in the X-Partner-Request-Id response header. A longer value is cut to its first 128 characters, and the shortened value is what is recorded and echoed. It never replaces request_id, and nothing is echoed when you do not send one.

POST /partners/{owner_slug}/prospects
Authorization: Bearer <token>
X-Partner-Request-Id: lease-134-a2

Token failures​

A missing, expired, or under-scoped token is refused by the API gateway before it reaches Greenlight, with a different body:

{ "message": "Unauthorized" }

The status is 401 for a missing or invalid token, and 403 for a token that lacks the route's scope. These responses carry no request_id. See Authentication & Environments.