You need to setup your Bubble app for API calls…check the settings API tab and enable API…there are lots of threads and tutorials on this.