Closed theseal closed 2 months ago
Can confirm that this issue is solved in main.
An faulty order now returns
{"detail": [{"type": "value_error", "loc": ["body", "data", "csr"], "msg": "Value error, Invalid PEM data.", "ctx": {"error": "Invalid PEM data."}}]}%
Orders to the API results in a 200 and pending order even if the CSR is invalid (missing in this case). Eg.
The order/slug is possible to fetch and states as
pending