Return HTTP API failures as typed Problem Details
A Problem Details consumer MUST use the resolved type URI as the primary problem-type identifier; when type is absent, its value is assumed to be about:blank. The status member is advisory, but a generator that includes it MUST give it the same status code as the actual HTTP response.
Read the guide