Here are all of the specifics I believe are relevant:
- Using
VB.NET 2010
- Using service account authentication
- Limited to .NET 4.0
- Using these Google libs: Google.Api v1.10.0, Google.Apis.Auth v1.10.0, Google.Apis.Vision.v1 v1.12.0.45
- Performing Text and Safe Search Analysis
- Passing image content in request (not using Google Drive)
When building my requests to send for annotation, if my total encoded file content is less than 1MB, my requests process as expected: I get annotations, and successful results back in the response. Multiple simultaneous annotation requests, as long as the total length is less than 1MB seem to work fine as well.
However, if I use a larger image, or a combination of images exceeding 1MB (encoded), I get an unexpected result. My received response contains no results, or errors. No exceptions are thrown.
While trying to narrow down the root cause, I was able to take the python example on the Google Cloud Vision API website and successfully process large images using the same service account authentication.
I see where the Google Cloud Vision .NET API was just updated a few weeks ago, so I'm wondering if there's a regression, or maybe I'm just missing something.