inquiry_expired
The inquiry expired on Airbnb. Message the guest, or send a special offer if they ask again.
HTTP 409The resource is not in a state that allows this operation.
When it fires
Airbnb refused a pre-approval or special offer because the inquiry has expired. It comes from POST /v1/conversations/{id}/pre-approval, /special-offers and POST /v1/channels/airbnb/offers. messagecarries Airbnb's wording.
Response shape
Every Repull error follows the same envelope. The code is stable and safe to switch on.
{
"error": {
"code": "inquiry_expired",
"message": "This inquiry has expired.",
"fix": "This inquiry has expired on Airbnb. Message the guest, or send a special offer if they ask again.",
"docs_url": "https://repull.dev/docs/channels/airbnb/inquiries-and-requests",
"request_id": "req_01J5X7Y8Z9ABCDEF12345678"
}
}How to fix
- Do not retry.
- Message the guest on the conversation (`POST /v1/conversations/{id}/messages`) if you still want the stay.
- If they write back, answer the new inquiry, or send a special offer if Airbnb accepts one on the thread.
Examples
curl
curl -X POST https://api.repull.dev/v1/conversations/164743/messages \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "Sorry we missed you. Those dates are still open if you would like to request them again."}'TypeScript
if (res.status === 409) {
const { error } = await res.json()
if (error.code === 'inquiry_expired') {
// Too late for a pre-approval; reach out instead
await sendMessage(164743, 'Those dates are still open if you would like to request them again.')
}
}If you're an AI agent
The inquiry expired on Airbnb. Do not retry. Message the guest if the stay is still wanted.
Related
- Error reference — the full table of error codes
- Using Repull from AI agents — patterns for handling errors in agent loops
- Inquiries & booking requests
- inquiry_no_longer_open
Hit an error that isn't covered? Email hello@repull.dev with the request id from the response headers.
AI