API Call always returns 405 despite successful


I set up a API endpoint using Google Script that will receive POST requests with some data and add a row to a google spreadsheet. When I make the call using Postman I receive a status code = 200 and I can see the row properly added to the google sheet afterwards.

When create the API call using bubble API Connector like:

And then test the call clicking “Initialize API call” I consistently get this error message:

An http status of 405 means the method is not supported, but the call is successfully execute as I see the new row also reflected in the google sheet.

Additionally I tried to call the supposedly unallowed call directly from the app and despite receiving the same error popup, data is also properly added to the google sheet.

What I am missing? should I be adding a particular header to make it work?

Thank you,