Forum Academy Marketplace Showcase Pricing Features

Help! API Plugin Invalid Request

Hey guys,

I don’t know if I am doing something wrong here or not. Any assistance will be helpful.

I am trying to add google’s “Place Add” to my new plugin, but I keep getting an invalid request. The call works in Postman but does not seem to work in Bubble.

Can someone have a look

This is the call in Postman

curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: cbe63040-20fb-c0a8-f307-f9d6af153115" -d '{
  "location": {
    "lat": -33.8669710,
    "lng": 151.1958750
  },
  "accuracy": 50,
  "name": "Google Shoes!",
  "phone_number": "(02) 9374 4000",
  "address": "48 Pirrama Road, Pyrmont, NSW 2009, Australia",
  "types": ["shoe_store"],
  "website": "http://www.google.com.au/",
  "language": "en-AU"
}' "https://maps.googleapis.com/maps/api/place/add/json?key=AIzaSyB0ZUkSEWhHMp1qIm-yAPF4Wo0VH9Ns5m0"

This is Bubble

The Body call I’m using in bubble is

{
  "location": {
    "lat": -33.8669710,
    "lng": 151.1958750
  },
  "accuracy": 50,
  "name": "Google Shoes!",
  "phone_number": "(02) 9374 4000",
  "address": "48 Pirrama Road, Pyrmont, NSW 2009, Australia",
  "types": ["shoe_store"],
  "website": "http://www.google.com.au/",
  "language": "en-AU"
}

Any Ideas?

Hey Guys, Need to bump this up and see if anyone can assist.

@emmanuel may I ask you assistance on this. I don’t think the community has anything to add here that can be of help.

Without a link to your app it’s going to be impossible to help.

It’s actually a plugin

It was an issue on our end, we’ll push a fix today.