# Changes to error reporting for orders modification

URL: https://shoptet.dev/news/api/changes-to-error-reporting-for-orders-modification

March 18, 2021 · One min read
Pavel Husa

On May 11 th 2021 we will make adjustments to error handling and reporting of [Order status modification](https://api.docs.shoptet.com/shoptet-api/openapi/orders/updateorderstatus) and [Order header modifications](https://api.docs.shoptet.com/shoptet-api/openapi/orders/updateorderhead) . The changes are rather minor, but if your processing reacts to the status codes or instance references, you might want to check if your error handling will be still working properly. The changes in general:

- For some validations, the status code will be `422` instead of `400` .
- The `instance field` is changed in several cases, mostly it is now prefixed with `data.` and sometimes it is `data.<item>` where it was `payload` before.
- The textual error message is sometimes modified.

**Tags:**
- [API](/news/tags/api/)
