I putted < > instead of " " in the pody so I can insert the value in the input instead of the body.
Also I don’t have content type header since json is what google expect to send.
I used oauth2 user-agent flow authntication method which is better than his way in setting the API. However, I’ve watched his other videos about calls but couldn’t figure out where I went wrong with this call
Yes, but by default Bubble, even if you select JSON, will not include this header. You need to include Content-type header with value to application/json
You need to keep <> to have dynamic field, but the value need to be surrounded by double quotes.
you can add them to the body or to the value, it’s doesn’t matter
Actually, the error you get is not related to auth, but to payload. 400 error is a bad request. If you get 401 error, this will be related to auth or scopes.
The channel that you shared one of its videos contains a video that deals with this method, but it is not sufficiently clear. I also found a video of Bubble that deals with this method in a better amount of detail:
However, I struggled until I was able to set the correct settings for Google Calendar, and these are the settings that work now for me: