Google Places Photo API - Issue Setting Up Call strange characters

I am trying to use the Google places photos api to get a photo…i keep getting this strange error no matter what settings I place into API connector


All of my other places api calls work just fine.

this is the setup in api connector


It makes no difference which way I send the parameters, either through parameters or url parameters and makes no difference if the data is json, xml, image etc…nothing, no variation in setting up this call is working and all show the same error with strange characters.

Any ideas on how to set this up properly to get the photo returned via API connector? Is this a bug in Bubble or some strange cryptic message from Google?

Looks like the encoded data for your PNG file, @boston85719. API seems to be complaining that it doesn’t like whatever it’s generating. 400 error docs from Google: Place Photos  |  Places API  |  Google Developers

Thanks @keith

I took a closer look at the documentation for place details rather than the documentation for place photos

The two are the same call, however, in the place photos documentation it is stated that the max height and max width are optional

but in the place details documentation they show it as mandatory

Current setup that works

I’m not sending in the height, despite it stated as mandatory in place details documentation, it is seemingly optional…however, if I omit the max width I get the error, so seems like max width is mandatory, but height is not.

What a headache dealing with not up to date documentation

2 Likes