naturalcrit / homebrewery

Create authentic looking D&D homebrews using only markdown
https://homebrewery.naturalcrit.com
MIT License
1.06k stars 324 forks source link

Can't Save #3574

Open ewirtz65 opened 1 month ago

ewirtz65 commented 1 month ago

Error Code

Error: Forbidden

Error: Forbidden
    at Request.<anonymous> (https://homebrewery.naturalcrit.com/homebrew/bundle.js:78344:21)
    at Emitter.emit (https://homebrewery.naturalcrit.com/homebrew/bundle.js:1954:20)
    at XMLHttpRequest.<anonymous> (https://homebrewery.naturalcrit.com/homebrew/bundle.js:78638:10)
{
  "status": 403,
  "method": "PUT",
  "url": "/api/update/TiI6h8oMyQYX"
}


### Your description of what happened:

Edited a brew and got this error
calculuschild commented 1 month ago

This error is coming from Google, and says "The user does not have sufficient permissions for this file."

Are you signed in to the correct Google Drive account where this brew is stored? If yes, have you changed the sharing permissions of that document? It needs to be set to "share with anyone with the link" in order for the Homebrewery to send changes.

It's also possible your Google credentials have just expired if you haven't newly logged in for a long time. In that case, you can try just logging out, and then signing back in "with Google".

5e-Cleric commented 2 weeks ago

This error is coming from Google, and says "The user does not have sufficient permissions for this file."

Are you signed in to the correct Google Drive account where this brew is stored? If yes, have you changed the sharing permissions of that document? It needs to be set to "share with anyone with the link" in order for the Homebrewery to send changes.

It's also possible your Google credentials have just expired if you haven't newly logged in for a long time. In that case, you can try just logging out, and then signing back in "with Google".

We should catch this error and tell the user about it in the tool.