Skip to content

Commit

Permalink
Merge pull request #14 from yamamoto0104/yamamoto_yaml_241127
Browse files Browse the repository at this point in the history
Editorial correction for error codes
  • Loading branch information
eric-murray authored Dec 3, 2024
2 parents 7d2ef75 + f0a825b commit 754b6de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/API_definitions/number-recycling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ info:
## Error handling:
- If the subject cannot be identified from the access token and the optional `phoneNumber` field is not included in the request, then the server will return an error with the `422 MISSING_PHONE_NUMBER` error code.
- If the subject can be identified from the access token and the optional `phoneNumber` field is also included in the request, then the server will return an error with the `422 UNNECESSARY_PHONE_NUMBER` error code. This will the case even if the same phone number is identified by these two methods, as the server is unable to make this comparison.
- If the subject cannot be identified from the access token and the optional `phoneNumber` field is not included in the request, then the server will return an error with the `422 MISSING_IDENTIFIER` error code.
- If the subject can be identified from the access token and the optional `phoneNumber` field is also included in the request, then the server will return an error with the `422 UNNECESSARY_IDENTIFIER` error code. This will be the case even if the same phone number is identified by these two methods, as the server is unable to make this comparison.
version: wip
Expand Down

0 comments on commit 754b6de

Please sign in to comment.