Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
379 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
When I call Image Analysis (v4.0, via C# SDK) with 20MB+ image, I receive this error (see that there is no InvalidImageSize
error code:
The image size is not allowed to be zero or larger than 20971520 bytes. Status: 400 (Bad Request) ErrorCode: InvalidRequest
Content: {"error":{"code":"InvalidRequest","message":"The image size is not allowed to be zero or larger than 20971520 bytes."}}
Is the error code intentionally missing? I would expect the same behavior as in other error cases - eg. when the image has wrong dimensions, I receive this error with a specified error code:
The image dimension is not allowed to be smaller than 50 and larger than 16000. Status: 400 (Bad Request) ErrorCode: InvalidRequest
Content: {"error":{"code":"InvalidRequest","message":"The image dimension is not allowed to be smaller than 50 and larger than 16000.","innererror":{"code":"InvalidImageSize","message":"The image dimension is not allowed to be smaller than 50 and larger than 16000."}}}
Are the Image Analysis error codes for version 4.0 the same as for version 3.2?