by Piotr Kozak
Booking API problems: seven causes and their fixes
A booking API connects your website, your app or an AI agent to the system that holds the calendar. When it fails, customers see an error instead of a confirmation, or worse, two people get the same slot.
Most failures come from the same seven causes. Here they are, each with its fix.
Update, November 2026. We first wrote this post in October 2024 about the API of the Timerise platform, the hosted product we ran from 2021 to 2025. Today we build booking systems that our clients own, API included. The list below is what we check when we connect to someone else's booking API and what we prevent when we design our own. New to the topic? Start with What is a booking API.
1. Authentication and permissions
What you see: 401 or 403 responses, often after things worked for weeks.
Causes: an expired token, a test key used on the live system, or a key without the right permissions.
Fix: keep test and live keys apart and name them clearly. Refresh tokens before they expire, not after the first failure. Give each integration its own key with only the permissions it needs, so one leaked key does not open everything.
2. Rate limits
What you see: 429 responses in busy hours.
Causes: too many requests in a short time, usually because the same data is fetched again and again.
Fix: cache what rarely changes, such as the list of services. When you get a 429, wait and retry, with a longer wait each time. Ask for changes through webhooks, so you do not have to poll.
3. Data formats
What you see: 400 responses, or bookings saved with wrong values.
Causes: a missing required field, a wrong type, or a date in the wrong format.
Fix: validate the request before you send it, against the schema the API publishes. Test with a tool such as Postman first. Send dates in ISO 8601 with an offset or in UTC, never as plain local text.
4. Errors you did not plan for
What you see: a timeout, a 500, or a response in a shape you did not expect.
Fix: treat every call as something that can fail. Handle each class of error on purpose: a 4xx means the request is wrong, so do not retry it. A 5xx or a timeout means try again later. Log the request id and the response, so you can find the cause in minutes.
5. Time zones
What you see: a booking that is one hour off, mostly around the clock change.
Fix: store times in UTC together with the place's time zone name, and convert to local time only on the screen. The full set of rules, with the clock-change cases, is in Time zones in booking systems.
6. Versions and deprecations
What you see: an integration that stops working on a day when you changed nothing.
Cause: the provider retired an old version of the API.
Fix: pin the version you use. Read the provider's changelog and plan the upgrade before the old version goes away. If the provider can change the API whenever they like, you carry that risk for as long as you use their product.
7. Double bookings from retries and races
What you see: two bookings for one slot, or one customer booked twice.
Causes: two requests for the same slot arrive at the same moment. Or a request times out, the client retries, and both attempts succeed.
Fix: the system must check availability and save the booking in one step, so the second request fails cleanly. Send an idempotency key with each booking request, so a retry returns the first result and creates nothing new. If the API you use does not support this, hold the slot first and confirm it second.
When an AI agent is the client
More bookings now start in ChatGPT, Claude or another assistant. An agent reads your API description and acts on it, with no person to notice a mistake.
That raises the bar. Field names have to say what they mean. Times need explicit zones. Errors need a message that tells the agent what to do next. We cover this in MCP server: your AI agent just learned to book and in Agent experience optimization.
When the API itself is the problem
Some problems have no fix on your side. The API has no endpoint for what you need. The rate limit is too low for your traffic. The data you want is not exposed. The price goes up when your number of calls goes up.
At that point you can work around the API, or own the system behind it.
Owning it is what we build at Timerise: a custom booking system with an API designed for your case, documented, and ready for AI agents. You pay a fixed price, from $10,000, with no monthly fee and no commission on bookings. The code and the data are yours, and three years of support come with the project.
We also do the smaller job. If your current system is fine and it only needs to talk to other tools, see booking system integration. If you want the weak points found before your customers find them, see booking system testing.
To see what your own system could look like, leave a brief. Within 48 hours you get a clickable prototype and a fixed quote, free of charge.
Talk to us about your booking system
No sales script. Tell us what you are building, and we will tell you how we would build it.