Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Can I write to a Google Sheet from a different website?

52 views
Skip to first unread message

Astralis Lux

unread,
Apr 14, 2025, 4:43:54 AMApr 14
to Google Apps Script Community
I've been working with Google AI Studio to create a script that allows me to insert data into a Google Sheet from a different website via post. 

But I keep getting a 405 error. Google AI Studio said that should not happen and we went through lots of trouble shooting. But the problem remains and Google's AI is "surprised" it doesn't work.

So, I wanted to confirm if my goal is even possible. 

Michael O'Shaughnessy

unread,
Apr 14, 2025, 5:25:54 PMApr 14
to google-apps-sc...@googlegroups.com
OK, I don't have an answer, however this sounds very interesting.

I am almost positive it is a permissions thing.  If you are testing I would just start by changing the permissions to "anyone with the link" can "edit" on the spreadsheet you are trying to write to.  If it works then you know it is a permissions issue.

Share some code if you can.  I would be interested in what your project in Google AI Studios looks like.



--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/daaac49a-5f87-47ef-a58e-5d3299edcd9fn%40googlegroups.com.

themacboy

unread,
Apr 15, 2025, 2:01:56 AMApr 15
to google-apps-sc...@googlegroups.com

Ummm um your account is free or bussines?

Check Cors!


Kulfi Software Services

unread,
Apr 15, 2025, 10:35:48 AMApr 15
to Google Apps Script Community
It is possible to write a script to automatically populate data into a Google Sheet from a different website via a post. I can write it for you and also help you set it up via a zoom call. Interested? Hire me: https://www.upwork.com/freelancers/kulfisoftwares
Reply all
Reply to author
Forward
0 new messages