Learn how protected sheets and ranges in Google Sheets block AppSheet from adding, editing or deleting rows, and how to fix it. You will add the right account as an editor and set permissions in AppSheet instead of locking cells. Suits anyone building a no-code app on a spreadsheet they share with others.
YouTube video: Google AppSheet: Protected Sheets & Ranges Explained | #appsheet #nocode #appsheettutorial #google
YouTube’s video details do not confirm captions. Check CC in the player for available tracks.
- Video length
- 1 min 12 s
- Time to do it
- 10 minutes
- Difficulty
- Easy
- Steps
- 8
What you need
Steps
Open the Google Sheet behind your app and go to Data, then Protect sheets and ranges to see every protected tab and range.
Click a protected range to open the sidebar and read who is allowed to edit it, either only you or a custom list.
Add the app creator's Google account, the one AppSheet connects with, as an editor on each protected range.
If your app runs as the signed-in user, add each app user as an editor too, or share the file with them as editors.
In the AppSheet editor, open Data and select Tables, then pick the table that fails to sync.
Change the Are updates allowed setting to Read-Only, Updates_Only, Adds_Only or Read-Write instead of hard-locking cells in Sheets.
Save the app, sync it, then add or edit a test row to confirm the write reaches the spreadsheet.
If a write still fails, read the sync error again. It names the account that was denied access.
Tips and common mistakes
Protect a whole tab only after you check the connecting account can still edit it, or every AppSheet write will fail.
By default AppSheet connects with the app creator's account, so a protection that allows only you works until you turn on run as user.
Use a Google Group address on the allowed editors list instead of adding people one by one.
Permission problems often appear as failed row adds or deletes rather than a clear warning message.
Questions
Why does my AppSheet app stop saving rows after I protect a sheet?
The account AppSheet uses to connect is not on the allowed editors list for that range, so Google Sheets blocks the write. Add that account as an editor and sync again.
Do I need to add every app user to the protected range?
Only if the app runs as the user with user data source permissions enabled. Otherwise just the app creator's account needs edit access.
Can I lock cells in Google Sheets instead of using AppSheet permissions?
You can, but table settings like Read-Only or Updates_Only inside AppSheet are easier to manage and avoid sync errors.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


