Skip to content

Commit 3d7492b

Browse files
authored
add explanation for 403 unsupported feature
1 parent 9420255 commit 3d7492b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/ai-services/computer-vision/reference-face-error-codes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ These error codes can be returned by any Face API calls.
3737
|Bad Request (400)|InvalidImageSize|Image size is too small.|The valid image file size should be larger than or equal to 1 KB.|
3838
|Bad Request (400)|InvalidImageSize|Image size is too big.|The valid image file size should be no larger than 6 MB.|
3939
|Unauthorized (401)|401|Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource.||
40+
|Forbidden (403)|UnsupportedFeature|Feature is not supported, missing approval for one or more of the following features: Identification, Verification.|Register for access by submitting a [registration form](https://aka.ms/facerecognition).|
4041
|Conflict (409)|ConcurrentOperationConflict|There is a conflict operation on resource `<resourceName>`, please try later.||
4142
|Too Many Requests (429)|429|Rate limit is exceeded.||
4243

@@ -50,6 +51,7 @@ These error codes can be returned by Face Detection operation.
5051
|Bad Request (400)|BadArgument|Invalid argument returnFaceAttributes.||
5152
|Bad Request (400)|BadArgument|'returnFaceAttributes' is not supported by detection_02.||
5253
|Bad Request (400)|BadArgument|'returnLandmarks' is not supported by detection_02.||
54+
|Forbidden (403)|UnsupportedFeature|Return Attributes (emotion, gender, age, smile, facial hair, hair and makeup) have been deprecated and are no longer supported.|Read more about this decision [here](https://azure.microsoft.com/blog/responsible-ai-investments-and-safeguards-for-facial-recognition/).|
5355

5456
## Face Liveness Session error codes
5557

@@ -243,4 +245,4 @@ These error codes can be returned by Person Directory operations.
243245

244246
Next steps
245247

246-
- [Face API reference](/rest/api/face/operation-groups)
248+
- [Face API reference](/rest/api/face/operation-groups)

0 commit comments

Comments
 (0)