google-cloud-vision-php icon indicating copy to clipboard operation
google-cloud-vision-php copied to clipboard

Problem with response

Open Hiduk opened this issue 8 years ago • 6 comments

I have problem with curl response its returns NULL all the time on all examples. I Added my API KEY and did every thing what needs but still no luck.

Hiduk avatar May 12 '16 09:05 Hiduk

The repo doesn't support error messages using 'curl_error'. I'll be pushing this change today. Hopefully the repo owner can merge it.

levelfivehub avatar Oct 20 '16 08:10 levelfivehub

Hi, Is the library working i added the library (ver 1.02) through composer copied the example provided into my xampp php script but it did not give any echo response? I copied my service key text $gcv->setKey("Copied my google service key text into here");

Moreover, should the file path be something like $path = "$upload_folder/$id.jpeg"; $gcv->setImage("$path");

imsocb avatar Jan 03 '17 15:01 imsocb

You may like to try using the Wikisource fork of this package instead.

samwilson avatar Mar 02 '17 06:03 samwilson

I got 400 error on var dump i have valid api key. 'code' => int 400 'message' => string 'API Key not found. Please pass a valid API key.' (length=47) 'status' => string 'INVALID_ARGUMENT' (length=16)

fre2mansur avatar Sep 17 '17 04:09 fre2mansur

@fre2mansur sounds like you're not supplying your API key.

samwilson avatar Sep 17 '17 05:09 samwilson

Thanks, i have corrected. but now i got this error 'message' => string 'Request must specify image and features.'

i just use which image you given with that package. how to i get know the image safe or not.

fre2mansur avatar Sep 17 '17 06:09 fre2mansur