Site Builder
Troubleshooting
"x-provider-id header is required"
The API did not receive a valid key.
- Check that every request sends the
x-provider-idheader. - Copy the key again from the API key tab. A missing or extra character is the most common cause.
- If you regenerated the key, update your site and publish again.
No services show up
- Make sure your services are set to Active in the Services section of your dashboard.
- Check the browser console for errors. Open it with right click, Inspect, then the Console tab.
- Make sure the base URL is
https://api.getwecycle.comand the path starts with/api/service.
Booking fails with a 400 error
A required field is missing or has the wrong format.
| Message | Fix |
|---|---|
| Date is required | Send date as a JSON string with a date value |
| Location is required | Send location as a JSON string |
| Timezone is required | Include timezone inside the date JSON |
| Invalid date format | Use YYYY-MM-DD for the date |
See the field list in Services and booking.
Duplicate bookings
Send an idempotencyKey with every booking and reuse it when the customer retries. Clear it only after a successful response.
Upload fails
- Your folder must contain
index.htmlat the top level. - Remove files with extensions that are not on the allowed list.
- Stay under 200 files, 15 MB per file and 50 MB in total. Compress large images and videos.
Styles or links break after publishing
Use relative paths such as ./styles.css and ./index.html. Paths that start with / point to the wrong place on the preview link.
"Site unavailable"
Your plan no longer includes Site Builder. Update your plan in Settings and the site comes back with the same files.
Requests work locally but fail on another domain
The API accepts requests from every origin, so this is rarely a CORS problem. Check the browser console for the real error, usually a wrong key or a typo in the URL.
Custom domain stays on "Waiting for DNS"
- Check the record type is
CNAMEand the name and target match the dashboard exactly. - Remove any other
AorCNAMErecord for the same name. - Wait a little longer. Some DNS providers take a few hours to publish changes.
Still stuck?
Email support@arrayq.com with your site link and a screenshot of the error.