ECR does not go online and “hangs” offline: 502 / 404 / PackageValidationError / InvalidQueryParameter
In short: this guide is for cases when the software ECR (pECR) does not switch to online mode
, accumulates a queue of receipts, or shows connection/validation errors during synchronization with the State Tax Service — DPS.
This guide assumes the user has basic experience administering accounting systems. Please note that any independent changes to settings or deletion of system files are performed at your own risk, and incorrect actions may lead to the cash register stopping and irreversible loss of fiscal data. To protect your business, be sure to create an up-to-date backup of the database before starting any work. If at any stage you have doubts or do not fully understand the technical consequences of the steps described, we strongly recommend refraining from further actions and entrusting the resolution of this issue to technical support specialists.
When the pECR does not come out of offline mode
-
You need to complete offline operation and send the accumulated receipts to the DPS server.
-
The pECR does not switch to online mode for a long time after the internet connection is restored.
-
During synchronization, errors appear: 502, 404, 10 PackageValidationError, 11 InvalidQueryParameter.
Which errors indicate a synchronization failure
-
The pECR status remains offline for a long time
and does not switch to online
. -
There is a “queue” of documents/receipts that are not being sent to the DPS server.
-
Errors:
-
502 Bad Gateway / 404 Not Found (server connection/availability)
-
10 PackageValidationError (critical offline package structure error)
-
11 InvalidQueryParameter (the previous request is “still being processed”, the process is stuck)
Why the pECR gets stuck offline
-
Temporary unavailability or overload of the DPS server (often results in 502/404).
-
A problem with the internet channel/routing (the internet is “available”, but traffic does not reach the DPS).
-
A stuck request to the DPS (error 11).
-
A corrupted/incorrect offline session (package validation fails — error 10).
Solution: what to do
Step 1. Connection diagnostics (before deleting the package)
-
Make sure the PC has a stable internet connection (check that websites/resources open).
-
If you see errors 502/404, this is usually temporary unavailability of the DPS server:
- if your offline limit has not been exhausted, continue working offline and repeat synchronization later;
-
do not delete the offline package just because of 502/404 (until you are sure this is not a temporary DPS failure).
Step 2. If “another request is being processed” (11 InvalidQueryParameter)
This means that the previous request is stuck and is blocking the next ones.
-
Settings → Software ECR → Software ECR Analytics.
-
Run the service command Set status to “Ready”.
-
After that, retry switching to online mode / synchronization.
Step 3. If there is critical offline package validation (10 PackageValidationError)
The package is not accepted by the DPS server because of an error in one or more documents (for example, numbering violations, mixed fiscal and non-fiscal items in one receipt, etc.).
CRITICALLY IMPORTANT: if a lot of receipts have accumulated offline, DO NOT click the “Delete offline package” button immediately! This action completely removes all documents of the current offline session from the sending queue. If you have 50 receipts in the queue and only the 49th is “broken”, clicking this button will destroy the entire queue, and you will have to manually repost all 50 sales.
How to proceed:
Option A. If there are many receipts in the offline session (recommended):
-
Carefully read the error text — the system often indicates which specific document caused the failure (for example, "Document processing error for No. 45 in the package").
-
Contact Torgsoft technical support. Specialists will connect, accurately identify the problematic receipt, and, using special commands or queries, remove only it and the receipts created after it.
-
This will allow you to save the previous receipts (for example, the first 48), successfully send them to the tax service, and you will only need to repost 1–2 problematic documents.
Option B. If there are only 1–3 receipts in the offline session (and you are ready to repost them yourself):
-
Go to the menu: Settings → Software ECR → Software ECR Analytics.
-
Find the documents with offline/error status (stuck).
-
Click Delete offline package. Important: this removes only the technical attempt to send receipts to the DPS; the sales themselves are not deleted from the Torgsoft database.
-
Run the service command Set status to “Online” (if necessary, first set the status to “Ready”).
-
After switching to online mode, repost the receipts removed from the queue through the pECR.
If the error text shows that “offline mode is prohibited for this pECR”, the reason lies in the registration settings of the pRRO itself in the DPS cabinet (permission for offline mode was not enabled during registration). In this case, the server will not accept receipts created without a connection at all. You will need to remove them from the sending queue, submit Form No. 1-PRO with changes (allow offline mode), and repost the sales online according to your accounting procedures.
Step 4. Synchronize (download) receipts from the DPS server
After cleaning up/restoring online status, you need to align the discrepancies between the local database and the DPS.
-
Settings → Software ECR → Download receipts from server.
-
Specify the range of local numbers (usually the program suggests it automatically).
-
Click Download.
-
Check that the fiscal data has been pulled into the corresponding documents. If the local document has been deleted, the receipt may appear as “unrecognized”.
Step 5. Repost receipts that are not on the DPS server
If, after downloading, you can see that some sales have no sign of fiscalization:
-
Make sure the pECR is online (
). -
Find the sales without a fiscal number and perform fiscalization again (for example, Print receipt / “Fiscalize” in the appropriate place in the interface).
-
If the payment was cashless, before reprinting make sure there will be no repeated charge on the terminal (if necessary, temporarily disable the terminal connection during printing).
How to check that the pECR is online again
-
The pECR indicator is green (online).
-
In “Software ECR Analytics” there are no stuck offline documents/errors.
-
New receipts are fiscalized and receive fiscal details (QR/code).
How to prevent repeated freezing
-
Have a backup internet channel.
-
Do not allow the offline queue to “build up”: check the pECR status regularly.
Conclusion
-
502/404 → usually a DPS availability issue: do not delete the package immediately, retry synchronization later.
-
11 InvalidQueryParameter → forcibly set the status to “Ready”, then retry synchronization.
-
10 PackageValidationError → delete the offline package → set “Online” → download receipts from the server → repost those that are not registered.
-
05.03.2026
Cashier's job description for using Software ECR (pECR) in the Torgsoft system
Cashier's instructions for the pECR at Torgsoft: equipment inspection, fiscalization of sales and returns, offline limits, Z-report
-
01.03.2026
Cash Register, Fiscal Registrar, and Software RRO
What a cash register, fiscal registrar, and software cash register are, how they differ, and which fiscalization options Torgsoft supports.
-
09.02.2026
How to make a product fiscal in Torgsoft?
Accounting program and cash register: sale of fiscal and non-fiscal goods, how to make a product fiscal in Torgsoft, excise and VAT in a fiscal receipt









Go back to the previous step