---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.kz/routing/doc/en/delivery/faq.md
  - https://yandex.kz/routing/doc/kk/delivery/faq.md
  - https://yandex.kz/routing/doc/ru/delivery/faq.md
  - href: en/delivery/faq.md
    type: text/markdown
    title: Markdown version
  - href: llms.txt
    type: text/markdown
    title: llms.txt
title: RouteQ — frequently asked questions
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.kz/routing/doc/en/llms.txt


# Frequently asked questions

## General questions {#common-problem}

{% cut "How do I connect to Track & Trace?" %}

To connect to the Track & Trace API, email us at [routing@yandex-team.ru](mailto:routing@yandex-team.ru).

{% endcut %}

{% cut "I moved an order to the next day, but it's marked as canceled. Why is that?" %}

When moving an order to a different day, set its status to `new`.

{% endcut %}

{% cut "When I upload routes to Track & Trace, there's a warning saying that routes for this date already exist. What do I do?" %}

This warning means that there have already been routes added for this date. You need to choose what to do with the old and new routes. To learn more, see [Uploading data](https://yandex.kz/routing/doc/en/delivery/load-data.md#additional-load).

{% endcut %}

{% cut "When I upload routes to Track & Trace, there's a warning about duplicate orders. What do I do?" %}

This warning means that the routes have duplicates, which are orders with duplicate numbers. To learn what you can do about duplicates, see [Uploading data](https://yandex.kz/routing/doc/en/delivery/load-data.md#duplicate-orders).

{% endcut %}

{% cut "How do I modify additional options?" %}

By default, some features of the mobile app for couriers are disabled. You can enable or disable them only through support. The changes will take effect after the courier restarts the app.

{% endcut %}

{% cut "Why am I getting a `429 (Too many requests)` error when trying to upload routes to Track & Trace?" %}

This error occurs when you exceed the Track & Trace limits. For example, when you try to upload more than 5 routes at once. To resolve this, please reduce the number of concurrent requests or contact support.
 
{% endcut %}

## Authorization {#authorization}

{% cut "How do I pass the OAuth token in the request?" %}

Pass the OAuth token in the Authorization header.

{% endcut %}

{% cut "I use a correct OAuth token, but I get a 401 Unauthorized response. Why is that?" %}

There can be several reasons:

- The OAuth token has expired. If you haven't used the token for more than one month, it may have been revoked.
- The password for the [Yandex ID](https://id.yandex.com/) account was changed.
- [Two-factor authentication](https://yandex.com/support/id/authorization/twofa.html) was enabled or disabled.
- You pressed **Log out on all devices** in the Yandex ID account.
- You entered the token without adding OAuth in the `Authorization` parameter.
    - Correct: `Authorization: OAuth <your-OAuth-token>`.
    - Incorrect: `Authorization: <your-OAuth-token>`.

For more information about why a token may be revoked, see [Revoked token](https://yandex.com/dev/id/doc/en/tokens/token-invalidate).

To continue working, get a new token. The steps you need to take are covered on the [Getting an OAuth token](https://yandex.kz/routing/doc/en/delivery/quickstart/register.md#oauth-token) page.

{% endcut %}

{% cut "I lost my OAuth token. How do I restore it?" %}

To restore your OAuth token, follow step 9 of the instructions at [Getting an OAuth token](https://yandex.kz/routing/doc/en/delivery/quickstart/register.md). If you restore the token this way, the key won't change.

{% endcut %}

{% cut "Why do I get a message saying `403 (Company apikey is unknown or banned)` or `403 (Company apikey is invalid)?`" %}

For the API to work, you need to specify a valid API key under **Settings** -> **Company** -> **API Key** in [Routing Workspace](https://yandex.com/courier/companies). You can check if your old key is valid or get a new one in the [Developer Dashboard](https://developer.tech.yandex.ru/) for **RouteQ: Planning and Track & Trace**.

{% endcut %}

{% cut "Why am I getting an error message saying `403 Your role doesn't allow to make this request`?" %}

This error means that your account doesn't have enough permissions to perform the request. The account is identified by the OAuth token that's used in the request.

To resolve the issue, assign the **Administrator** role under **Settings** → **Managers** in [Routing Workspace](https://yandex.com/courier/companies).

{% endcut %}

## Track orders {#tracking}

{% cut "Why do vehicles on courier tracks in Routing Workspace jump long distances?" %}

**Symptoms**

:   When you view a courier's movement history, their vehicle sometimes moves abruptly along the route as if part of the track wasn't recorded.

**Possible cause**

:   While en route, the courier minimizes the RouteQ app, and the device drops it from the smartphone RAM.

**Solution**

:   Add the RouteQ app to the list of exceptions in the smartphone battery optimization settings.

  {% cut "Sample settings (for Huawei phones)" %}

  - Go to **Settings**→ **Battery** → **App launch**.
  - Find the RouteQ app and deselect it.
  - In the **Manage manually** window that opens, leave all the options on.

  {% endcut %}

  The settings menu may vary across different phone models. If you can't find these settings, contact support and we'll do our best to help.

{% endcut %}

{% cut "Why do vehicles on courier tracks in Routing Workspace <q>jump</q> long distances off the main route?" %}

**Symptoms**

:   When you view a courier's movement history, their vehicle sometimes deviates abruptly from the route.

**Possible cause**

:   The app couldn't get the exact coordinates.

**Solution**

:   The courier's phone must use only a GPS source or the Device Only source instead of multiple location sources at once (Wi-Fi, cellular, and GPS).

{% endcut %}

{% cut "Can I enable the downtime tracker when the courier stays at the delivery address longer than planned?" %}

There is no downtime tracker in Track & Trace. To evaluate courier performance:

* Define how long a courier can stay idle before [downtime](https://yandex.kz/routing/doc/en/delivery/functions/idle.md#idle-setting) starts — `idle_time_window_s`. By default, `idle_time_window_s` = 1800 (30 minutes). To change parameter values, contact support. Values apply to the entire company;   

* Use the [Courier performance](https://yandex.kz/routing/doc/en/delivery/interface/quality-report.md) report. It includes the [Location idle duration, min](https://yandex.kz/routing/doc/en/delivery/interface/quality-report.md#fields) field, which provides data for analysis and further calculations. 

{% endcut %}

## Order notifications {#messages}

{% cut "What types of order notifications are there?" %}

There are two types of notifications about order delivery:

- The `shift_start` notification appears when a courier starts moving along the route.
- The `nearby` notification appears some time (by default, 30 minutes) before the estimated time of arrival at the delivery point. The estimated time of arrival (ETA) is calculated automatically when the courier moves along the route.

[Learn more about getting information about notifications](https://yandex.ru/routing/doc/en/delivery/redoc/index.html#operation/getsOrderNotifications)

{% endcut %}

{% cut "When does the shift_start notification appear in the system?" %}

The `shift_start` notification usually appears at the time specified in the `route.route_start`, providing the system is receiving the courier's coordinates.

If there are no courier coordinates in Track & Trace (for example, the service started receiving them only after the time specified in the `route_start` field), the notification appears when this data arrives.

If the `route.route_start` parameter isn't set, the notification appears at the beginning of the earliest time window from all orders. In addition, if the `mark_route_started_radius` is set for the `depot`, the notification for routes that are linked to the depot doesn't appear while the courier is within the depot radius.

{% endcut %}

{% cut "Why didn't a notification appear in the system?" %}

Possible reasons:

1. The notification service isn't enabled. To enable it, contact your manager.
1. The courier didn't log in to the app or choose a route.
1. The courier started the route after the end of the delivery time window. For example, if the courier starts the route at 10:30 and the delivery window is from 8:00 to 10:00, no order notification appears in the system.
1. Location data from the GPS tracker wasn't sent to the service. In this case, you'll see that there's no data about the courier's location in [Routing Workspace](https://yandex.com/courier/companies).

{% endcut %}

<!-- source: en/delivery/_includes/feedback-head.md -->
<a href="feedback">
  <span class="button">Contact support</span>
</a>



[//]: # (Version without HTML\: \[Contact support\]\(../../../feedback.md\))
<!-- endsource: en/delivery/_includes/feedback-head.md -->
