When a request fails, the RM API returns a standard HTTP status code along with an error message in the response body. Here's what each code means and what to do about it.
400 Bad Request
The request was malformed — missing required fields, invalid values, or incorrect JSON syntax. Check your request body and query parameters. Common causes:
Missing a required field like
start_dateorend_dateon custom ratesSending a string where a number is expected
Malformed JSON in the request body
A date range where
end_dateis beforestart_date, or longer than the endpoint allows
401 Unauthorized
Your API key is missing or invalid.
Your key is checked before the request itself, so a bad key returns 401 even if the request body is also wrong. Fix the key first; any 400 errors in the body will show up after that.
The RM API uses a custom header — not standard Bearer auth. Make sure your request includes exactly:
X-Integration-Api-Key: your_api_key_here
Common mistakes:
Using
Authorization: Bearer your_api_key— this won't workUsing
Api-KeyorX-Api-Keyinstead ofX-Integration-Api-KeyPassing the key as a query parameter instead of a header
If the header is correct and you're still getting 401, regenerate your API key in the Wheelhouse dashboard.
403 Forbidden
Your API key is valid but doesn't have permission to access this resource.
This usually means the listing_id belongs to a different Wheelhouse account than your API key. Verify listing IDs by calling GET /listings — only listings that appear in that response are accessible with your key.
404 Not Found
The requested resource doesn't exist.
Confirm the
listing_idis correctWith
channel=wheelhouse, check that the listing belongs to your account. A listing you can't access returns 404, even when it's inactiveVerify the endpoint path — a typo in the URL will return a 404
406 Not Acceptable
The listing is inactive, which means Wheelhouse no longer syncs it. For example, its channel stopped returning it, or its channel account was disconnected. The listing object shows is_active: false.
Every endpoint that acts on one listing returns 406 for an inactive listing, for reads as well as writes:
{"error": "Listing '12345' is inactive"}Retrying doesn't help. The listing becomes active again only if a later sync finds it on its channel, so skip it until then
PUT /preferencesdoesn't fail the whole request. It lists the inactive listing inerrorswith code 406 and applies the rest of the batchGET /listingsleaves inactive listings out by default. Passexclude_inactive=falseto see them
422 Unprocessable Entity
The request was well-formed but contained invalid data the server couldn't process.
The response body will include a description of what failed. Common causes:
The listing isn't in a market Wheelhouse covers, or has no location data
The
channelquery parameter is missingNo exchange rate is available for the
currencyyou asked for
423 Locked
The listing isn't ready for this request yet. This is temporary. Common causes:
Price recommendations are still being generated
The listing's preferences haven't been initialized yet, which happens with recently added listings
A sync was already requested for the same listing in the last 60 seconds
Retry after a short wait (60 seconds for a sync). Build 423 handling into your integration so it retries the listing later rather than failing the whole operation.
429 Too Many Requests
You've exceeded the rate limit — RM API keys are limited to 60 requests per minute by default, on a rolling one-minute window.
A 429 response includes a
Retry-Afterheader with the number of seconds to wait. Use it when it's thereIf there's no
Retry-After, use exponential backoff: wait 1 second, then double the delay on each retry (2s, 4s, 8s, …) up to about 60 seconds, with ±10–20% jitter to avoid concurrent clients retrying in lockstepFor bulk preference updates, use
PUT /preferencesto update multiple listings in a single request instead of looping single-listing callsIf your integration regularly hits the limit, batch requests where possible or contact Wheelhouse to discuss a higher limit
To see which key and endpoint are hitting the limit, use GET /usage
500 Internal Server Error
Something went wrong on Wheelhouse's end. This is not caused by your request.
Wait a moment and retry. If the error persists, contact Wheelhouse support.
207 Multi-Status
Returned on bulk operations when some items succeeded and others failed. This is not an error — it means partial success.
Check the response body for a per-item breakdown of what succeeded and what failed. Common per-item failure causes: listing in 423 Locked state, inactive listing (406), invalid value for a setting, listing ID not belonging to your account. Retry only the failed items — don't re-send the full batch.
Common scenarios
Price recommendations are empty or missing dates
Confirm you're passing
channel=airbnb— the parameter is requiredCheck that the listing is active in Wheelhouse
The recommendation window length depends on your account's plan tier — a shorter window than expected may be a plan limit, not an error
Custom rates aren't appearing in Wheelhouse
Confirm the response was 200, not 400 or 422
Dates must be in
YYYY-MM-DDformat.end_dateis the last night of the rate, so it can be the same asstart_datebut not before itRates are set per day of the week, in
sundaythroughsaturday. There is no singleratefieldFor
rate_type: "adjustment", each day is a percentage of the Wheelhouse price:100= no change,90= 10% discount,110= 10% increase. A value like0.9is rejectedFor
rate_type: "fixed", each day is the nightly price, andcurrencyis required
Listings are missing from GET /listings By default, GET /listings excludes inactive listings. Pass exclude_inactive=false to include all listings regardless of status.
Check Your API Usage
Use GET /usage to see how your integration has been behaving over the last 7 days: how many requests it sent, which endpoints it called most, how many failed and when, and how many hit the rate limit. It covers every RM API key on your account.
curl "https://api.usewheelhouse.com/ss_api/v1/usage?days_back=7" \
-H "X-Integration-Api-Key: your_api_key_here"
days_back(integer, optional, 1 to 7, default7): a window ending nowstart_time/end_time(ISO 8601, optional): an exact window instead. It can be 7 days at most, or you get a 400token_id(integer, optional): only one API key. Use anidfromby_token
The response includes:
totals: requests, requests by status class (2xx,4xx,5xx…),rate_limited(429s) and average and 95th-percentile response timesby_day: requests and errors per UTC day, so you can see when errors startedby_endpoint: requests, errors and average response time per endpoint, busiest firstby_token: requests per API key, with its name and last four characterswindow: the period covered. Iftruncatedistrue, the window was too busy to read in full and the figures cover a shorter, most recent period
The figures are cached for a few minutes (see generated_at), so calling it more often than that returns the same numbers. To check your current rate limit room, read the X-RateLimit-* headers on any response instead.
Send Us Feedback
Something failed, the docs were unclear, or you needed an endpoint that doesn't exist? Send it to us with POST /feedback. If you use the Wheelhouse MCP, it's available as a tool, so your AI agent can send it for you.
curl "https://api.usewheelhouse.com/ss_api/v1/feedback" \
-H "X-Integration-Api-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"category": "confusing_docs", "endpoint": "GET /listings", "message": "What I tried, what happened, and what I expected."}'
message(string, required): the feedback, up to 4,000 characters. Say what you tried, what happened and what you expected, so someone without your context can act on it.category(string, optional):bug,confusing_docs,missing_capability,praiseorother(the default).endpoint(string, optional): the endpoint it's about, such asGET /listings.listing_id(string, optional): the listing it's about, if any.
Send one item per issue, and leave out guest names and other personal data. Read-only keys can send feedback, and feedback calls aren't billed. Each user can send up to 30 items per hour and 100 per day.
Note: we read every item, but nobody replies to feedback. For help with your account, contact support@usewheelhouse.com.
Related
Making your first API request (step-by-step walkthrough)