Loading
fix: 039_05_01 expects InvalidRequest, not BadRequestData, per § 5.5.5
Section 5.5.5 of v1.9.1 says: 'If the request payload body is not a valid JSON document then an error of type InvalidRequest shall be raised.' The fragment file used by 039_05_01 (subscription-update-invalid-json.json) contains a deliberately malformed JSON body — exactly the case the spec mandates be reported as InvalidRequest, not BadRequestData (which the spec reserves for *valid* JSON whose contents fail validation against the API data type or @context, § 5.5.4). Switch the expected problem type to ERROR_TYPE_INVALID_REQUEST.