1b.app
Link copied -

Import processes from Horoshop (Horoshop)

Hello! From the morning of November 12, 2024, we see a strange picture with the unloading of balances and orders. Unloads time after time and again, one order at a time...

Any thoughts on how to fix this? If something didn't work, it would be easier, but it doesn't work as I understand everything.

bazamolliua.1b.app
Original question is available on version: ua

Answers:

Volokhovich Evgeniy
Адміністратор
The request is accepted and answered without errors in the logs

What's wrong with integration?
13.11.2024, 11:52
Original comment available on version: ua

look at the last 2 auth on the screen. After the last one there is a request, but after the second to last one there is none - most likely there is something wrong in the answer.
13.11.2024, 11:56
Original comment available on version: ru

also pay attention to the response time of the horoshopa server, if it is there. We do not expect a response longer than 30 seconds for a request to receive a token
13.11.2024, 11:59
Original comment available on version: ru

Volokhovich Evgeniy
Адміністратор

let him cook
OneBox production wrote:
view last 2 auth on chest. There is a question after the last one, but not after the penultimate - most likely there is something in the answer.

Thanks, we'll check now
13.11.2024, 12:16
Original comment available on version: ua

Volokhovich Evgeniy
Адміністратор

let him cook
OneBox production wrote:
view last 2 auth on chest. There is a request after the last one, but not after the penultimate - most likely there is something in the answer.

I checked the logs and I don't see any parcels.
At least all the logs are around the time indicated on the screen.
I see that the authorization is successful, the following logs for receiving orders are also all successful.
13.11.2024, 12:24
Original comment available on version: ua

Volokhovich Evgeniy
Адміністратор
Here are the logs for unloading orders. For some reason, I see yesterday's test in the logs. I don't understand whether it is counted from those that are not in Onebox itself...
13.11.2024, 12:30
Original comment available on version: ua

Volokhovich Evgeniy
Адміністратор
Commentary is available in ua and not yet translated to the current language.
13.11.2024, 12:31

The very last screen shows the last state. That is, if everything is ok, and in a minute everything is ok - then it will show the last time of successful action.
As far as I can see, you have two integrations with horoshop, have you checked both in the admin panel?
13.11.2024, 12:40
Original comment available on version: ru

Volokhovich Evgeniy
Адміністратор

let him cook
OneBox production wrote:
The last screen shows the last state. That is, if everything is ok, and after a minute everything is ok - it will show the last successful operation.
As far as I see you have two integrations with well, have you checked both in the admin?

We have one working now. We do not use others
13.11.2024, 12:47
Original comment available on version: ua

Volokhovich Evgeniy
Адміністратор
Those that do not work have been removed
13.11.2024, 12:48
Original comment available on version: ua

Why did you leave the actions in automation?
13.11.2024, 13:01
Original comment available on version: ru

Volokhovich Evgeniy
Адміністратор

Volokhovich Evgeniy wrote:
Those that do not work have been removed

Turned off what doesn't work
13.11.2024, 14:12
Original comment available on version: ua

Volokhovich Evgeniy
Адміністратор
We see the errors are gone from the integration but nothing is importing yet...
13.11.2024, 14:34
Original comment available on version: ua


Volokhovich Evgeniy wrote:
not importing yet...

let's figure it out. Do I understand correctly that you have some order that is not imported into the box? If so, then disable all actions at the stage in the box in which this order should be created. Perhaps when creating an order, one of the actions gets an error and the order is rolled back.
If this does not help, let's look at an example: give some order number or customer phone number (last 4-5 digits are possible) that is in the goodbox for the last couple of hours but is not created in the box.
13.11.2024, 14:37
Original comment available on version: ru

Volokhovich Evgeniy
Адміністратор

let him cook
OneBox production wrote:

Volokhovich Evgeniy wrote:
not importing yet...

let's figure it out. Do I understand correctly that you have an order that is not imported into the box?
If it didn't help, let's analyze it using an example: give some order number or the customer's phone number (last 4-5 digits are possible) which is fine in the last couple of hours, but is not created in the box.

please, order number 19104 on the side of the horosop. This order is not imported
13.11.2024, 14:47
Original comment available on version: ua

Volokhovich Evgeniy
Адміністратор
I want to note that there are problems not only with orders, but also with balances
13.11.2024, 15:06
Original comment available on version: ua


let him cook
OneBox production wrote:
disable all actions at the stage in the box in which this order should be created. It is possible that when creating an order, one of the actions receives an error and the order is rolled back.

my guesses were confirmed. You get errors when creating an order:
Select warehouse product Fleece jacket Hawk Coyote Camotec
You need to TURN OFF the product reservation action at the order creation stage, this is a very strange setup logic. Put it at the stage to which a person switches (who will see the problem and try to fix it) and not the cron, which cannot create an order.
13.11.2024, 15:12
Original comment available on version: ru

Volokhovich Evgeniy
Адміністратор

let him cook
OneBox production wrote:

let him cook
OneBox production wrote:
Tick ​​all steps in the box in which this order should be created. Perhaps, when creating an order, one of the actions receives an error and the order is rolled back.

my assumptions were confirmed. You receive errors when creating an order:
Select the composition of the product Fleece jacket Hawk Coyote Camotec
You need to turn OFF the product reservation action at the order creation stage, this is a very strange setup logic. Put it at a stage that a human will switch to (who will see the problem and look to fix it), not a crown that can't create an order.

That was really the problem. Thank you very much!
13.11.2024, 15:29
Original comment available on version: ua

Volokhovich Evgeniy
Адміністратор
imported orders just disappeared.
13.11.2024, 15:46
Original comment available on version: ua

Volokhovich Evgeniy
Адміністратор
Also errors again
13.11.2024, 15:50
Original comment available on version: ua

Volokhovich Evgeniy
Адміністратор
Logs
13.11.2024, 15:54
Original comment available on version: ru



Volokhovich Evgeniy wrote:

There are only imported contracts.



The box does not delete already imported orders. Look for where you switched them.



Volokhovich Evgeniy wrote:

Also pardons



Unfortunately, Horoshop limits the time that the box can work with its API. That is, we cannot import orders every minute, the default limit is 800 seconds of API work per hour. In this case, this limit is exceeded - until the next hour, the box does not send requests. If your Horoshop tariff does not have restrictions on API use (very unlikely), you can set a higher limit in actions.
13.11.2024, 15:56
Original comment available on version: ru

Volokhovich Evgeniy
Адміністратор


Volokhovich Evgeniy wrote:

Logs





let him cook

OneBox production wrote:



Volokhovich Evgeniy wrote:

imported orders just disappeared.



box does not delete already imported orders. Look for where you switched them.



Volokhovich Evgeniy wrote:

Also errors again



unfortunately, the app limits the time that boxing can run with its api. That is, we cannot import orders every minute, the default is the limit - 800 seconds of api operation per hour. In the event that this limit is exceeded - until a trace occurs. box does not send requests for an hour. If there are no restrictions on the use of the API in your Dobropa tariff (it was very helpful), you can set a higher limit in actions.



The limits are clear, but where were the orders distributed? for example, 19104. They are not in the logs.... I checked the actions both by themselves and by others. What's wrong with the server?
13.11.2024, 16:09
Original comment available on version: ua

I repeat. Box does not delete its own orders or orders in horoshopa.
13.11.2024, 16:41
Original comment available on version: ru

Volokhovich Evgeniy
Адміністратор

let him cook
OneBox production wrote:
I will repeat myself. Box does not delete its orders or orders in good.

thanks for your help!
13.11.2024, 17:09
Original comment available on version: ua

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment