Closed slimey99uk closed 2 months ago
Yes, I want to fix it... Leave with me.
Should be fixed, please retest, thanks.
Confirmed working - now get a 202 response, and a warning in the message log on NOTSCO
Hmm, it probably should have sent an error response back, or as you say, an 4xx error. But at least it is not crashing and says there is an issue. I'll see if I can improve that anyway.
Ah, it can't send an error back as it is a Confirmation, OK, so probably right. We don't syntax check at that level in the "post" handling, and may well be the case with other CPs. So yeh, I think this is sane.
Not sure if you'll want to fix this, but I wasn't sending a valid UUID as switchOrderReference (because correlationID doesn't need to be a UUID I stupidly assumed the same was true for switchOrderReference), and was getting 500 Internal Server Error back from the letterbox endpoint, rather than a 400 error (ideally with some text about what was wrong) as per the API spec.
Tx:
Rx: