Status Update
Comments
[Deleted User] <[Deleted User]> #2
be...@gmail.com <be...@gmail.com> #3
sc...@gmail.com <sc...@gmail.com> #4
gr...@igmtechnology.ca <gr...@igmtechnology.ca> #5
ad...@troop1313.com <ad...@troop1313.com> #6
sa...@gmail.com <sa...@gmail.com> #7
pe...@gmail.com <pe...@gmail.com> #8
or...@gmail.com <or...@gmail.com> #9
pe...@gmail.com <pe...@gmail.com> #10
Because WebHooks senders rely on HTTP response code.
el...@gmail.com <el...@gmail.com> #11
ry...@google.com <ry...@google.com>
[Deleted User] <[Deleted User]> #12
I need the ability to send back to the requesting clients 304 responses based on logic processing the request in the script.
le...@hodai.org <le...@hodai.org> #13
Regards,
-l
co...@colinscloud.com <co...@colinscloud.com> #14
br...@gmail.com <br...@gmail.com> #15
cs...@gmail.com <cs...@gmail.com> #16
ze...@gmail.com <ze...@gmail.com> #17
lu...@theotcentre.co.uk <lu...@theotcentre.co.uk> #18
ps...@gmail.com <ps...@gmail.com> #19
nn...@gmail.com <nn...@gmail.com> #20
Ni...@nikonovs.com <Ni...@nikonovs.com> #21
ra...@gmail.com <ra...@gmail.com> #22
so...@antevas.in <so...@antevas.in> #23
el...@ignitionit.com <el...@ignitionit.com> #24
ti...@gmail.com <ti...@gmail.com> #25
ms...@gmail.com <ms...@gmail.com> #26
j....@gmail.com <j....@gmail.com> #27
ih...@gmail.com <ih...@gmail.com> #28
ma...@gmail.com <ma...@gmail.com> #29
hi...@cuc.global <hi...@cuc.global> #30
ke...@gmail.com <ke...@gmail.com> #31
[Deleted User] <[Deleted User]> #32
cs...@gmail.com <cs...@gmail.com> #33
na...@gmail.com <na...@gmail.com> #34
ju...@gmail.com <ju...@gmail.com> #35
th...@gmail.com <th...@gmail.com> #36
bi...@gmail.com <bi...@gmail.com> #37
ii...@legalnetwork.jp <ii...@legalnetwork.jp> #38
lt...@gmail.com <lt...@gmail.com> #39
ka...@boldare.com <ka...@boldare.com> #40
jo...@gmail.com <jo...@gmail.com> #41
pa...@gmail.com <pa...@gmail.com> #42
ma...@martin.wertgen.de <ma...@martin.wertgen.de> #43
da...@gmail.com <da...@gmail.com> #44
bo...@gmail.com <bo...@gmail.com> #45
na...@gmail.com <na...@gmail.com> #46
nu...@gmail.com <nu...@gmail.com> #47
+09
sc...@hansma.org <sc...@hansma.org> #48
ti...@cloudkitchens.com <ti...@cloudkitchens.com> #49
da...@gmail.com <da...@gmail.com> #50
mi...@noonah.co.uk <mi...@noonah.co.uk> #51
an...@gmail.com <an...@gmail.com> #52
+1
av...@zenconnect.fr <av...@zenconnect.fr> #53
[Deleted User] <[Deleted User]> #54
ni...@gmail.com <ni...@gmail.com> #55
jo...@fd-works.co.uk <jo...@fd-works.co.uk> #56
da...@rumoon.com.br <da...@rumoon.com.br> #57
Anyway, this is silly, because Apps Script is already limited in a number of ways.
9 Years after the original Feature Request.
pu...@gmail.com <pu...@gmail.com> #58
lo...@gmail.com <lo...@gmail.com> #59
Hi! I'm late to the party but here is another use case. There is an issue tracker on the XML mime type randomly getting removed from the Content Service
A workaround (if you didn't want to respond to an inbound text) could be to return a status code of 204 No Content. Since that ability is not available, that workaround is not valid. So even getting creative, we are still blocked from a valid solution. Hopefully the team at Google is able to address these issues and give us some more tools in the tool belt, because Apps Script is amazing outside of the few limitations that it has.
ba...@odontolead.com <ba...@odontolead.com> #60
mi...@gmail.com <mi...@gmail.com> #61
vi...@installyou.com <vi...@installyou.com> #62
sa...@dexterity.ai <sa...@dexterity.ai> #63
ad...@dimeda.net <ad...@dimeda.net> #64
jm...@noahface.com <jm...@noahface.com> #65
Its such a basic feature to be able to return an error from a script.
It is now 10 years since the original request....
ro...@opazo.cl <ro...@opazo.cl> #66
It's a must to receive API notifications. If you reply with 200, the sender will always thing delivering the notification was successful.
pr...@gmail.com <pr...@gmail.com> #67
sa...@gmail.com <sa...@gmail.com> #68
bo...@gmail.com <bo...@gmail.com> #69
re...@refisz.hu <re...@refisz.hu> #70
ri...@gmail.com <ri...@gmail.com> #71
da...@dink.dating <da...@dink.dating> #72
How has such basic functionality not been implemented in over 10 years? Honest question.
Description
It sure would be nice to be able to send response codes other than 200 in a google apps script.
The particular use case I've run into is that I created a REST service based on a google spreadsheet + varnish, and in order to have consistency with other REST services, would like to return 404 when an id lookup fails. (/book/123 rather than /books/?author=Twain)
I can imagine other use cases: 304 if the script is pulling from a cache rather than re-running business logic, 400 if the request failed validation, etc.
I searched the issues list and I don't think this feature has been requested before.
I'm not alone:
Thanks.