Skip to content

Commit

Permalink
Error correction for description
Browse files Browse the repository at this point in the history
  • Loading branch information
yamamoto0104 authored Nov 27, 2024
1 parent f7732b9 commit d482b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/API_definitions/number-recycling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ info:
This approach simplifies API usage for API consumers using a three-legged access token to invoke the API by relying on the information that is associated with the access token and was identified during the authentication process.

### Error handling:
### Error handling

Check failure on line 61 in code/API_definitions/number-recycling.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

61:5 syntax error: could not find expected ':' (syntax)

- 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.
Expand Down

0 comments on commit d482b02

Please sign in to comment.