Error: 404: File Not Found
Full Error Message:
Error message: Error: 404. Error description: { “error”: { “errors”: [ { “domain”: “global”, “reason”: “notFound”, “message”: “File not found: XXXXXXXXXXXXXXXXX”, “locationType”: “other”, “location”: “file” } ], “code”: 404, “message”: “File not found: XXXXXXXXXXXXXXXXX” } }
This error can happen if you try generating a document without the proper sharing settings on your Google Doc template or folder.
How to Resolve:
- Verify that the Google Doc ID in the Document Action is formatted properly. It should only contain numbers and letters. Do not include the “/edit” at the end.

- Check your sharing settings on the Google Doc template. Make sure not set to “private.” See the “Adjust Google Docs Sharing Settings” section of our Basic Configuration article for more detail on choosing your sharing settings. The most popular setting is “anyone with the link” under “Advanced” sharing settings.
- NOTE: If you do not see this Google Doc sharing setting “anyone with the link” under your Advanced sharing settings, then you have strict company drive settings and you will need to have the Administrator modify them or use a different Google Drive account for the app. Refer to this article, “Do not see ‘Anyone with the link’ sharing option” for more detail.
- If you are saving the merged document to a Google Drive folder, make sure the sharing settings are modified on the folder as well. If in the Document Action settings you specify a Google Drive folder where all generated documents from the Document Action will be stored (in the Folder ID field), each user generating documents will need edit access to that Google Drive folder.
- If the File not found is a Folder Id from the Document Action, this might be caused by Google updating the Security on this old folder and adding a resource key to the URL. Create a New Folder in Google Drive. Share the folder with the same users or Company as the previous old Folder. Update the Document Action with the new Folder Id.
- If you modified the visibility setting to “Company” and then you get an error message that displays in the Document Action, this may be caused if you have not yet set up a Google Apps For Work Account.
- Check that your Google Doc is stored on the same Google Drive that you authorized under Opero Documents Configuration tab and that your user is the “owner” of this document or has access to it. Do the same for the Google Drive folder Id, if applicable.
- If using the “Delete Google Docs After Merge” feature with Opero Documents, a record may have been delete. Deselect this checkbox on the Document Action and test the process to see if error persists.
- If you need more information on the Google Drive or Google Doc sharing settings, please see this Google Help article.
- If you have checked all of the above steps and are still unable to resolve, please send the error message to support for more assistance and let them know what you have tried: support@opero.com.