HTTP status 422. An API key request can get this code.
A selected medication does not exist, is disabled, is hidden for the practice or its platform, is research use only (RUO) and the practice has no RUO access, or is a controlled substance, which cannot be ordered yet.
Recovery
Choose a medication from the current catalog for the ordering practice. Do not retry the same order unchanged.
Branch on code, not on the text of detail. Give Affinity the requestId when you report a problem.