Webhook Status 500 Method Not Allowed

I've built an endpoint using Google Apps-Script to receive and process incoming webhooks from Bouncie so that I can log the events in Google sheets.  I'm able to receive and log the data, but I can see from the Bouncie dev portal that events being sent to my endpoint are failing with Status 500 "Method Not Allowed", and as a result, Bouncie continues to retry sending the events.  As far as I can tell, my endpoint responds with a dead-simple JSON: 

return ContentService.createTextOutput("{}").setMimeType(ContentService.MimeType.JSON);

 

Is there a different response format expected by the Bouncie webhook?   What else might be the issue?

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • IT
    • ruby_vase
    • 5 days ago
    • Reported - view

    I am having the same issue. Did you find any solution for this? 

    Like
  • Unfortunately never got it to work using only Apps-Script - something about the way it returns status that Bouncie doesn't like.  I end up swapping out my Apps-Script endpoint for a simple Google Cloud endpoint that logs the incoming webhook to a google sheet, and then an Apps-Script function that runs on sheet update and processes the webhook data.  Not elegant but has been pretty stable.   

    Like
Like Follow
  • 5 days agoLast active
  • 2Replies
  • 23Views
  • 2 Following