google-images icon indicating copy to clipboard operation
google-images copied to clipboard

Getting 500 both on this and on Google Test

Open AaronNGray opened this issue 6 years ago • 5 comments

Getting 500 with both API key and cx provided both on this and on Google Test :-

https://developers.google.com/custom-search/json-api/v1/reference/cse/list

AaronNGray avatar Oct 10 '18 01:10 AaronNGray

I don't have time to look into it. If you want to dig in and you'll be able to find out what's wrong, I would appreciate a PR!

vadimdemedes avatar Oct 19 '18 00:10 vadimdemedes

Same issue here, I don't have time to look into it either, I'm working on something else and thought this tool would save me time instead.

matias-quezada avatar Nov 14 '18 15:11 matias-quezada

I have the same issue. I checked google API calls directly and the issue reason is searchType parameter. Without this parameter it works fine. Seems to be Google side issue since this parameter is in the docs.

krystiangw avatar Feb 03 '19 06:02 krystiangw

You need to enable image search in CSE settings

gustavolaux avatar Mar 04 '19 14:03 gustavolaux

You need to enable image search in CSE settings

Thanks, I'll check that one. So 500 status code seems be a google API side bug anyway. It should be handled properly with some 400 / 422 status code.

krystiangw avatar Mar 05 '19 11:03 krystiangw