NPA-5136: Standardise Endpoint Errors#228
Conversation
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
JackPlowman
left a comment
There was a problem hiding this comment.
One last issue then ready to approve
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
…m:NHSDigital/validated-relationships-service-api into task/NPA-5136/standardise-endpoint-errors
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
|
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-5136 |
Pull Request
Ticket Link
https://nhsd-jira.digital.nhs.uk/browse/NPA-5136
Description/Change Summary
Invalid headers and parameters use different yet similar errors. The error codes are different base on whether APIError class is used or not.
The following errors have been standardised across all endpoints:
GET /Consent invalid status query parameter:
GET /Consent invalid X-IM1-Connection-Params:
How to test?
Review Checklist
ℹ️ This section is to be filled in by the reviewer.
Post-merge
After merging and deploying changes to the sandbox, Postman collection or spec examples please run the
Run Postman collectionworkflow.This will run the tests within the collection to check that the sandbox is working as expected once deployed.