Carbura

Error reference

Every code Carbura can return, what causes it, and what to do about it. A driver reading a code out loud and a developer reading a log are looking at the same thing.

CBR-1001 Email or password is incorrect.

The credentials did not match any account.

Qué hacer. Check the email and password and try again.

Deliberately does not say which of the two was wrong: telling someone an email exists confirms which accounts are real.

CBR-1002 The session has expired.

The access token is no longer valid and could not be refreshed.

Qué hacer. Sign in again.

CBR-1003 An account already exists with that email.

Sign-up was attempted with an email that is already in use.

Qué hacer. Sign in instead, or reset the password.

CBR-1004 The password is too short.

Passwords must be at least 10 characters.

Qué hacer. Use a phrase you can remember. Length matters more than symbols.

CBR-1005 This account is blocked.

An administrator blocked the account for abuse.

Qué hacer. Contact whoever administers your fleet.

CBR-1006 New accounts are closed.

The server has sign-up disabled; accounts are created by invitation.

Qué hacer. Ask your team leader to create your account.

CBR-1007 You still lead a team.

The account cannot be deleted while it owns a team. The team belongs to the people in it as much as to whoever created it, and its trip history is their record too.

Qué hacer. Hand the team over to another leader, or close it, and then delete the account.

CBR-1008 This account has no profile yet.

The account exists but its Carbura profile was never created, so there is nothing on file to check the request against.

Qué hacer. Open the app again. It creates the profile by itself the first time it loads. If this keeps happening, sign out and sign back in.

Kept apart from CBR-1005 on purpose. Both refuse the request, and the server is right to refuse either way, but telling somebody their account is blocked when it simply has no profile yet sends them looking for a punishment that does not exist.

CBR-2001 That team code is not valid or has expired.

No active team matches the code.

Qué hacer. Check the code with your leader. Codes are 8 characters and never contain the letter O or the digit 0.

Says the same thing for a non-existent code and an expired one, so probing cannot tell them apart.

CBR-2002 Too many failed attempts.

More than 10 wrong codes in 15 minutes.

Qué hacer. Wait a few minutes before trying again.

CBR-2003 That team is full.

The team has reached its member limit.

Qué hacer. Ask the leader to raise the limit or remove inactive members.

CBR-2004 You are not in that team.

The action requires membership, and you left or were removed.

Qué hacer. Join again with the team code.

CBR-2005 Only the team leader can do that.

The action is restricted to leaders.

Qué hacer. Ask your leader.

Enforced by the database, not the UI. Even a modified app gets rejected.

CBR-2006 That team has ended.

Teams are temporary and this one passed its end date.

Qué hacer. Ask your leader to create a new one.

CBR-2007 You have reached the limit of active teams.

A person can own at most 20 active teams.

Qué hacer. Archive a team you no longer use.

CBR-3001 You already have a trip in progress.

Only one trip can be live at a time.

Qué hacer. Finish or cancel the current trip first.

CBR-3002 That trip is already finished.

Completed and cancelled trips cannot be reopened.

Qué hacer. Start a new trip.

Reopening an old trip would allow backdating false positions onto it.

CBR-3003 Only your leader can change this destination.

The trip was dispatched by a team leader.

Qué hacer. Ask your leader, or leave the team if you should not be under dispatch.

CBR-3004 No route exists that fits this vehicle.

No road on the way allows the declared height, weight or cargo.

Qué hacer. Check the vehicle's height and weight are correct, or pick a different destination.

A legitimate and frequent answer for trucks, not a malfunction.

CBR-3005 That destination is outside the mapped area.

The route falls outside the map region loaded on the server.

Qué hacer. Contact whoever administers the server: the map region needs to be extended.

CBR-3006 Your leader changed the route.

The team leader assigned a new destination while driving.

Qué hacer. Follow the new directions when it is safe to do so.

Not a failure. It is announced loudly on purpose: finding out late is worse than the change itself.

CBR-3007 This trip has no route yet.

The route has not been calculated.

Qué hacer. Calculate the route before starting to navigate.

CBR-4001 Carbura cannot access your location.

Location permission was denied.

Qué hacer. Grant location access in system settings. Without it there is no navigation.

CBR-4002 Navigation will stop when the screen turns off.

Background location permission was not granted.

Qué hacer. Allow location "always" so directions continue with the phone in your pocket.

CBR-4003 Location is turned off on this phone.

System location services are disabled.

Qué hacer. Turn on location in system settings.

CBR-4004 You have left the assigned route.

Your position is outside the route's tolerance corridor.

Qué hacer. Return to the route, or recalculate if the road is blocked.

Your leader is notified. Nothing is blocked: blocking a driver would be dangerous.

CBR-4005 This phone is reporting a simulated location.

The operating system reports the position comes from a mocking app.

Qué hacer. Turn off the mock location app. Your leader has been notified.

CBR-4006 Too many position updates.

More than 180 positions were sent in one minute.

Qué hacer. Usually a bug in the app. Restart it.

CBR-4007 This phone's clock is wrong.

The device clock differs from the server by more than five minutes.

Qué hacer. Set the date and time automatically in system settings.

Positions are still recorded, but flagged for review.

CBR-5001 Place search is unavailable.

The search server did not answer.

Qué hacer. Try again, or pick from your saved places.

CBR-5002 Showing saved results.

There is no connection, so previously saved results are being used.

Qué hacer. Nothing. Addresses rarely move, but results may be out of date.

CBR-5003 Nothing found for that search.

The search returned no results.

Qué hacer. Try fewer words, or the street and city separately.

CBR-5004 You already saved a place with that name.

Home and Base can only exist once each.

Qué hacer. Rename the existing one, or save this as a custom place.

CBR-6001 No connection.

The device could not reach the server.

Qué hacer. Check your signal. Navigation continues with the route already downloaded.

CBR-6002 The server took too long.

The request exceeded its time limit.

Qué hacer. Try again in a moment.

CBR-6003 The server had a problem.

The server returned an unexpected error.

Qué hacer. Try again. If it keeps happening, report this code.

CBR-6004 The routing server is not responding.

Valhalla is unreachable or still building its map.

Qué hacer. Try again shortly. After a fresh deploy, building the map takes a while.

CBR-6005 This version of the app is too old.

The server sent data this version does not understand.

Qué hacer. Update Carbura.

CBR-6006 The app is not configured.

Required server addresses were not provided at build time.

Qué hacer. Rebuild with the required --dart-define values. See the README.

CBR-6007 This server does not have that address.

The app asked for something the server does not serve. Either the app is older than the server, or it is pointed at the wrong address.

Qué hacer. Update the app. If it is already up to date, check the server address it was built with.

Answered at the front door rather than by the service behind it, so a request for an address that does not exist never costs any work. Anything that is not a real endpoint gets this, which also means a scan of common paths learns nothing from the difference between them.

CBR-7001 This vehicle has no height or weight declared.

Routing will treat it as an ordinary vehicle.

Qué hacer. Add the height and weight before navigating. Without them the route may pass under a bridge your truck does not clear.

The single most consequential missing field in the whole app.

CBR-7002 Those dimensions look wrong.

A value is far outside what a real vehicle measures.

Qué hacer. Check the units. Height goes in centimeters, weight in kilograms.

CBR-7003 You have no vehicle set up.

No default vehicle is registered for this account.

Qué hacer. Add your vehicle so routes account for its size.

CBR-8001 You do not have permission to do that.

The database rejected the operation.

Qué hacer. If you believe this is wrong, report this code.

CBR-8002 Too many requests.

The rate limit for this action was exceeded.

Qué hacer. Wait a moment and try again.

CBR-8003 An impossible jump in position was detected.

The distance between two positions implies a speed no vehicle reaches.

Qué hacer. Usually a GPS glitch. If it repeats, your leader will be notified.

CBR-8004 The app was built with a server key.

A server-side key was found in the app configuration.

Qué hacer. Rebuild with the public key. A server key inside an app exposes the entire database.

The app refuses to start. This is intentional.

CBR-9001 Something went wrong.

An error occurred that the app does not recognize.

Qué hacer. Try again. If it keeps happening, report this code with what you were doing.

CBR-9002 The app received data it does not understand.

The server response did not match the expected shape.

Qué hacer. Usually means the app and the server are different versions. Update the app.