Troubleshooting
First look: GET https://api.yourcourier.com/api/health says whether the
database and Redis are up, and docker compose logs backend --tail 200 shows
what the API last did.
Signing in
No login code arrives. Without an SMS provider the code is written to the API's log instead:
docker compose logs backend | grep -o 'login code for [^ ]* is [0-9]*' | tail -1
Add Twilio or MSG91 under Providers to send real texts.
"Please wait before requesting another code." A phone may ask once every 30 seconds and five times an hour.
"Login codes cannot be sent right now." The SMS provider refused: the
reason is in the API log (SMS send failed for OTP: …), usually a wrong key or
an unapproved sender id.
"This account has no admin access." The phone belongs to a rider (riders use the app, not the console) or to nobody on your team: add staff under Team.
The console
Every page fails to load, or the browser's console says CORS. The console
has the API address built in when it is built. After changing PUBLIC_API_URL
or PUBLIC_ADMIN_URL, rebuild it: docker compose up -d --build admin. The API
accepts requests only from PUBLIC_ADMIN_URL.
Customer messages link to localhost. Set PUBLIC_WEB_URL to the
console's public address in install/.env and restart the backend.
Booking
"We do not deliver to this address yet." No hub serves it: add its post code to a hub under Hubs, or give the hub a service radius (used where addresses have no post code).
"No hub collects from this pickup address." The same, for the merchant's pickup address.
"That is not a post code here." It cannot be a post code in your market (five digits in India, say); the error shows an example of one that can.
Dispatch
A rider is greyed out in Dispatch. They are off, already on a run, or not verified. Riders marks an unverified rider; open them and verify their documents. Only a verified rider is given parcels and customers' cash.
"This rider does not work out of this hub." Attach them to the hub under Riders first.
The rider's position does not move on the run map. The rider declined background location, or the phone's battery saver stops the app. The app asks again; on Android it offers the setting that stops the phone from killing it.
Payments at the door
A rail is not offered at the door. It needs its keys under Providers, to be switched on under Paid at the door, and to take your installation's currency.
A payment went through but the door still waits. The gateway's callback did
not reach the API: check PUBLIC_BASE_URL is the public HTTPS address and the
webhook is set in the gateway's dashboard (Payments and providers →
Callbacks). The rider can take cash meanwhile; the door settles only when the
gateway confirms.
Maps
The maps show OpenStreetMap. No Google Maps key, or Google refused the one you entered (billing off, or the key restricted to other sites). The console falls back on its own and keeps working; check the key in Google Cloud.
The rider app
"Production build requires a public EXPO_PUBLIC_API_URL." The build
refuses an empty, localhost or LAN address on purpose: set your API's public
address in rider-app/.env.production.
The app can't reach a server running on your computer. On a phone,
localhost is the phone. Use your computer's LAN address
(ipconfig getifaddr en0 on a Mac) in .env.development.
Still stuck
Collect the API log around the time it happened and the steps that led there, and contact support with your purchase code.