Skip to content

Commit e953dc3

Browse files
committed
NPA-6425: filtered down create consent errors
1 parent 1bd9d6d commit e953dc3

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

specification/validated-relationships-service-api.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -787,15 +787,13 @@ paths:
787787
| 400 | `MISSING_SCOPE` | Missing scope. |
788788
| 400 | `MISSING_CATEGORY` | Missing category. |
789789
| 400 | `MISSING_DATETIME` | Missing datetime. |
790-
| 400 | `MISSING_VALUE` | Missing header or parameter. For details, see the `diagnostics` field. |
790+
| 400 (422 in the code but we need a new error to cover this) | `MISSING_VALUE` | Missing header or parameter. For details, see the `diagnostics` field. |
791791
| 400 | `BAD_REQUEST` | Invalid request. For details, see the `diagnostics` field. |
792-
| 401 | `ACCESS_DENIED` | Missing or invalid OAuth 2.0 bearer token in request. |
792+
| 401 | `ACCESS_DENIED` | Missing or invalid OAuth 2.0 bearer token in request. (NOT IN CODE) |
793793
| 403 | `FORBIDDEN` | Access denied to resource. |
794-
| 404 | `INVALIDATED_RESOURCE` | Resource that has been marked as invalid was requested - invalid resources cannot be retrieved |
795-
| 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. |
796-
| 408 | `TIMEOUT` | Request timed out. |
794+
| 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. (NOT IN CODE) |
795+
| 408 | `TIMEOUT` | Request timed out. (NOT IN CODE) |
797796
| 409 | `DUPLICATE_RELATIONSHIP` | Conflict with requested proxy role. |
798-
| 422 | `INVALID_VALUE` | Invalid Parameter or Invalid operation. |
799797
| 422 | `INVALID_IDENTIFIER_VALUE` | Invalid grantee or patient identifier value. |
800798
| 422 | `INVALID_IDENTIFIER_SYSTEM` | Invalid grantee or patient identifier system. |
801799
| 422 | `INVALID_PATIENT` | Invalid patient. |
@@ -809,7 +807,6 @@ paths:
809807
| 422 | `INVALID_GRANTOR_VALUE` | Grantor ODS code is missing, empty, whitespace-only or invalid format. |
810808
| 422 | `INVALID_PERFORMER` | Invalid performer. |
811809
| 422 | `INVALID_GRANTOR_SYSTEM` | Grantor identifier system is invalid (must be 'https://fhir.nhs.uk/Id/ods-organization-code'). |
812-
| 422 | `INVALID_PARAMETER` | Invalid request parameter. For details, see the diagnostics field. |
813810
| 429 | `THROTTLED` | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
814811
815812
content:

0 commit comments

Comments
 (0)