azure-docs
azure-docs copied to clipboard
Confusing statement around error codes
The details for "status" state
An HTTP response status codes-like number, and must be 409
Is 409 the only code? or are other 400 codes also acceptable?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 6dff7a38-a459-4eb9-22fe-d225eeac5e34
- Version Independent ID: c3e92211-d07e-edec-3a08-eb68a26859bb
- Content: Define a RESTful technical profile in a custom policy - Azure AD B2C
- Content Source: articles/active-directory-b2c/restful-technical-profile.md
- Service: active-directory
- Sub-service: b2c
- GitHub Login: @kengaderdus
- Microsoft Alias: kengaderdus
@drwharris Thanks for your feedback! We will investigate and update as appropriate.
@drwharris The http code is different from the status value in the json (body) response. The http status code can be anything of the form 4xx, but the status value in the json response need to be 409. I hope this clarify your query.
status
Is the documentation being updated? or are you just commenting here?
The current description for status appears to be trying to detail internal functionality which is just confusing. At this point in time, the only valid value is 409 so just state that.
This "An HTTP response status codes-like number, and must be 409" Should be changed to "Currently only accepts 409"