google-cloud-vision-php
google-cloud-vision-php copied to clipboard
Got this error - what is the problem
Array ( [error] => Array ( [code] => 400 [message] => Invalid value at 'requests[0].image.content' (TYPE_BYTES), Base64 decoding failed for "data:image/gif;base64," [status] => INVALID_ARGUMENT [details] => Array ( [0] => Array ( [@type] => type.googleapis.com/google.rpc.BadRequest [fieldViolations] => Array ( [0] => Array ( [field] => requests[0].image.content [description] => Invalid value at 'requests[0].image.content' (TYPE_BYTES), Base64 decoding failed for "data:image/gif;base64," ) ) ) ) ) )
@thangman22 please give solution for this Im using php7.2
Hi, have you sorted this out? I'm having this problem too. Hoe you can provide some helps for me.