You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to add an order to the API more than once, the API returns DuplicatedOrder, despite the openapi.yml indicating it should be DuplicateOrder.
Impact
With a recent push to reduce API resource consumption, this may result in excessive programmatic retries of the API, leading to excessive resource consumption.
# Description
Fixes the OpenAPI yaml description for down-stream consumers.
# Changes
- [x] Corrected `DuplicatedOrder` response
## How to test
1. Attempt to place the same order twice.
2. Observe correct API response per `openapi.yml`.
## Related Issues
Fixes#1928
Problem
When attempting to add an order to the API more than once, the API returns
DuplicatedOrder
, despite theopenapi.yml
indicating it should beDuplicateOrder
.Impact
With a recent push to reduce API resource consumption, this may result in excessive programmatic retries of the API, leading to excessive resource consumption.
To reproduce
DuplicateOrder
.Expected behaviour
The API gives the correct response according to the
openapi.yml
.services version/commit hash and environment
Version: v2.226.00
Environment: production (mainnet)
Additional context
This error was found during the course of testing the watch tower.
The text was updated successfully, but these errors were encountered: