When the image sent to the API is too large, then the API result is not consistent: there is no result returned, no error, but the JSON contains the following:
"imageQualityHints": [
{
"category": "ImageDimensionsExceedLimit"
}
],
This is not documented in this page: https://learn.microsoft.com/en-us/bing/search-apis/bing-visual-search/how-to/get-insights
As we can see in the returned JSON, imageQualityHints is an array and may contain other values that may be of interest.
It would be great having all values documented to have proper error/info handling from the calling application.