R
R
Roman2021-11-15 10:40:12
API
Roman, 2021-11-15 10:40:12

How to fix an error in a POST request to Yandex Services?

There is a bot that tracks orders on Yandex Services and sends responses. So, until yesterday, the responses were without problems. But now the response is not placed in json.

Here is the json response from Yandex. It differs from the normal answer with this: "violations":{"text":["order_reaction_strict"]}.

{"orderReaction":{"createTime":1636961500,"orderId":"a27ff9dd-50d9-4c8f-8a38-778b6674da70","workerId":"29e2a981-237d-46fa-97f1-8c6432b2abe4","description":"Доброе утро. Звоните!","price":null,"photos":[],"files":[],"violations":{"text":["order_reaction_strict"]},"hidden":null,"isFromPartner":false,"isPaid":false},"remainingReactionsCount":2,"actualAgreements":0,"unreactedOrdersCount":0}


I can't figure out what's wrong...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question