The invitation was saved but email delivery failed.
Recovery
Retrieve the saved invitation, correct the delivery problem, and resend it instead of creating a duplicate.
Branch on code, not on the text of detail. The HTTP status, requestId, and optional data.issues describe this occurrence.
Do not log patient or prescription bodies. Give support the request ID when investigating a failure.