airbnb_link_missing
The conversation or reservation has no Airbnb thread, confirmation code or host on record. Reconnect Airbnb so it re-syncs.
When it fires
To act on Airbnb, Repull needs the Airbnb side of the record: the Airbnb thread and host for a conversation, or the confirmation code and host for a reservation. For this conversation or reservation Repull has no record of one of them, and message says which. It comes from the pre-approval, special-offer and accept/decline endpoints, and is checked before Airbnb is contacted, so nothing was sent.
Response shape
Every Repull error follows the same envelope. The code is stable and safe to switch on.
{
"error": {
"code": "airbnb_link_missing",
"message": "Conversation 164743 has no Airbnb host on record, so Airbnb cannot be asked to act on it.",
"fix": "Reconnect Airbnb (`POST /v1/connect/airbnb`) so the listing and its conversations re-sync with their Airbnb ids, then retry.",
"docs_url": "https://repull.dev/docs/channels/airbnb/inquiries-and-requests",
"request_id": "req_01J5X7Y8Z9ABCDEF12345678"
}
}How to fix
- Reconnect the Airbnb account at https://repull.dev/dashboard/connections, or start a Connect session with `POST /v1/connect/airbnb`, and make sure the listing is selected.
- Wait for the listing and its conversations to re-sync.
- Retry the original request with a new `Idempotency-Key`.
Examples
curl
curl -X POST https://api.repull.dev/v1/connect/airbnb \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"redirectUrl": "https://your-app.com/callback"}'TypeScript
if (res.status === 422) {
const { error } = await res.json()
if (error.code === 'airbnb_link_missing') {
// Send the host through Airbnb Connect again, then retry once it has re-synced
return { needsReconnect: true }
}
}If you're an AI agent
The conversation or reservation has no Airbnb ids on record. Nothing was sent. Ask the user to reconnect Airbnb (dashboard or POST /v1/connect/airbnb), wait for the re-sync, then retry with a new Idempotency-Key.
Related
- Error reference — the full table of error codes
- Using Repull from AI agents — patterns for handling errors in agent loops
- Inquiries & booking requests
- OAuth Connect
Hit an error that isn't covered? Email hello@repull.dev with the request id from the response headers.