I'm trying to create a board button that sends a get request to my Google App Script(GAS). GAS always generates a one-time accessing uri and returns as response 302. Unfortunately, butler doesn't recognize it and treat it as an error. Does anyone know how to recognize a redirection response and proceed the execution with redirect uri?
Thank you in advance!
Hi Iain Dooley!
Thank you for you reply!
I deployed it as a web application and I have an URL like this
and it returns a redirect response to
The script executes as Me and anyone even anonymous can access to the app since I don't know how to do OAuth in bulter.
I think this Google App Script related question should not be asked here so is there any way to handle the response 302 in butler? Or other power-up that I could do some coding inside.
@Jiajie Liu looks like this is only the case when you serve the request using the Content Service:
If you serve the request using the HTML Service instead you won't get the redirect:
@Jiajie Liu haha yeah I do a LOT of work with Google Apps Script, in fact I created this framework for automating Trello "butler style" using GAS:
If you had to thrive a new habit during a lockdown, what would it be? Trello
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event