Vision api stopped working with base64 encoded images

In our app we had vision api working with base 64 encoded images. but today morning without any changes it stopped working. after debugging it we found if we give it full url it works but base64 encoded images stopped working all together.

Api throws this response when we sent base64 encoded images.

  'message' => 'The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at if you keep seeing this error. (Please include the request ID 919d24592797f7aa95dd2e7e927402ba in your email.)',
    'type' => 'server_error',
    'param' => NULL,
    'code' => NULL,

Anyone else is facing this issue ?