API issues
400 Bad Request: 'lat is required' or other missing parameters
400 Bad Request: 'lat is required' or other missing parameters
400 response with an errors array listing every missing field.| Parameter | Type | Format | Required |
|---|---|---|---|
lat | number | Decimal degrees (e.g. 48.8566) | Yes |
lon | number | Decimal degrees (e.g. 2.3522) | Yes |
checkin | string | YYYY-MM-DD | Yes |
checkout | string | YYYY-MM-DD | Yes |
adults | number | Integer ≥ 1 | Yes |
rooms | number | Integer ≥ 1 | Yes |
children | number | Integer ≥ 0 | No |
Check the error response
errors array in the response body. It lists every missing or invalid field by name, so you can fix all issues in one pass.400 Bad Request: 'lat must be a number' or similar type errors
400 Bad Request: 'lat must be a number' or similar type errors
lat, lon, adults, rooms, children) must parse as a valid JavaScript number. If a value is present but not numeric, the API returns a 400 with a message like lat must be a number.Common causes:- Passing a city name instead of coordinates (e.g.
lat=Parisinstead oflat=48.8566). - Including extra characters such as degree symbols (
48°) or whitespace. - Passing an empty string for an optional parameter — omit
childrenentirely rather than sendingchildren=.
Confirm lat and lon are decimal numbers
Remove any non-numeric characters
48.8566, not "48.8566 N" or 48,8566.500 Internal Server Error
500 Internal Server Error
500 response indicates that the API was unable to complete the database query. The response body contains an error field with a message.Wait and retry
Check your parameters
checkin=not-a-date) can cause unexpected database errors even after passing client-side validation. Ensure checkin and checkout are valid YYYY-MM-DD dates and that checkout is later than checkin.Try a different search
Report the issue
500 errors, open an issue on the OpenBookings GitHub repository and include your request parameters (without personal data) and the error message from the response body.Rate limiting
My requests are being blocked or rejected
My requests are being blocked or rejected
Search issues
No results returned for my destination
No results returned for my destination
Check the destination coordinates
Reduce the guest count
Adjust your dates
The background image on the home page is not loading
The background image on the home page is not loading
Wait a moment
Check your browser's private browsing mode
Authentication issues
My magic link email is not arriving
My magic link email is not arriving
Check your spam folder
Confirm the email address
Request a new link
I clicked the magic link but it didn't sign me in
I clicked the magic link but it didn't sign me in
- The link expired. Magic links are valid for 15 minutes from when they were sent. Request a new one from the sign-in page.
- The link was already used. Each link is single-use. If you clicked it before, it’s no longer valid. Request a new one.
- The link was modified. Some email clients or security scanners rewrite URLs, which breaks the token. If you suspect this, copy the full URL from the email and paste it directly into your browser’s address bar instead of clicking.
- You’re in a different browser. Try opening the link in the same browser you used to start the sign-in flow, or copy the URL and paste it into your preferred browser.