Skip to content

Conversation

@gunndabad
Copy link
Member

@gunndabad gunndabad commented May 8, 2025

For the GET /v3/persons/<trn> endpoint, there's currently there's no way to know the difference between an invalid TRN and a deactivated record; we return a 404 and a 'Person does not exist' error in both cases.

This change returns a different error code - 10058 - for deactivated records. In future we should roll this out across all endpoints.

@gunndabad gunndabad requested a review from MrKevJoy May 8, 2025 05:31
@gunndabad gunndabad force-pushed the gone-deactivated branch from 9ef1811 to 161bd5f Compare May 8, 2025 05:33
@gunndabad gunndabad force-pushed the gone-deactivated branch from 161bd5f to da546e4 Compare May 8, 2025 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants