error "The Documents service could not access the document with ID..."

614 views
Skip to first unread message

VdC Ev

unread,
Sep 28, 2023, 3:44:27 AM9/28/23
to NV Autocrat Add-on
Good morning,

I have been using Autocrat for many years, congratulations on this excellent tool!

This is the first time I'm getting an error, could you help me solve it?

I have created a job to generate a single document. I always activate work manually, and until a few days ago it has always worked well for me. But since the 26th it gave me this error:
"The Documents service could not access the document with ID..."

It chooses the template well, but when it comes to filling it in with the data from the spreadsheet, it does not generate the document nor can it save it to its destination folder.

What I can do? I do not have the dynamic reference folder activated.

Thank you so much

“Buenos días, 

Llevo muchos años utilizando Autocrat, ¡enhorabuena por esta excelente herramienta! 

Es la primera ver que me da un error, ¿podrían ayudarme a solucionarlo?

He creado un trabajo para generar un solo documento. El trabajo siempre lo activo manualmente, y hasta hace unos días siempre me ha funcionado bien. Pero desde el día 26 me daba este error: 
"El servicio de Documentos no tiene acceso a ID..."

Escoge bien la plantilla, pero a la hora de rellenarla con los datos de la hoja de cálculo, no genera el documento ni lo logra guardar en su carpeta de destino. 

¿Qué puedo hacer? No tengo activado la carpeta de referencia dinámica. 

Muchas gracias

Tiphaine Maurice

unread,
Sep 28, 2023, 4:39:37 AM9/28/23
to NV Autocrat Add-on
Hi, 

I experiencing the same issue for 2 days also. 
And also with the generation of a single document (no trigger I launch by hand, no email to sent).
I had a job that was working for month now, but suddenly  this error happened "The Documents service could not access the document with ID..."

I tried to change account in case of limitation. 
I tried on edge instead of chrome.
I tried to empty cookies and disable all the other extensions. 
I tried to choose to generate Google documents instead of PDF. 
Nothing worked.

My quick fix is to generate each row one by one.
Put all the files on my computer.
And merge the PDFs with another software.
But it's taking so long... I love autocrat so much for that.

Hope someone will have a solution, but if 2 users are experiencing the same issue at the same time with no relation, I suspect a bug. 

Best regards.

Joseph Schmidt

unread,
Sep 28, 2023, 9:28:56 AM9/28/23
to nv-autocr...@googlegroups.com
I just tried a merge to a single document and it worked fine.  I had over 300 rows.  It worked with a PDF or document output.

It was a simple merge with just a few merge tags and just text in the template.

Does the merge work in multiple output mode?  Does it merge some rows and then stop?

There are tools like PDF mergy that combine files.  Or you can download the files and print from your computer.

I'm afraid I don't have an easy answer.  Each merge is different in its complexity.



--
You received this message because you are subscribed to the Google Groups "NV Autocrat Add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nv-autocrat-add...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nv-autocrat-add-on/f8a12313-c256-434d-8f37-b822dca1aeedn%40googlegroups.com.

Tiphaine Maurice

unread,
Sep 28, 2023, 10:23:57 AM9/28/23
to NV Autocrat Add-on
There is text, table and logo in my template.
I just take text from my 17 columns, and put them into the template.
It works when I run multiple mode. So I guess it is not my template... 

The step blocks to "Running Job Creation XXXX 8 of 8 rows appended", then it crash. 
"This should not been taking so long..."
"The Documents service could not access the document with ID..."
So, I am far from 300 rows, and it already blocks. 
In my sheet in the column "Document Merge Status - Creation XXXXX", I just have: Starting at Thu Sep 28 2023 10:06:12 GMT-0400 (EDT)
A temporary Google Doc is created in my drive called Sep 28 2023 4:06 PM - XXXXX Generation
All the fields are empty, there is just one page instead of 8.
Capture.JPG

Douglas Kirby

unread,
Sep 28, 2023, 10:27:10 AM9/28/23
to nv-autocr...@googlegroups.com
Just my 2 cents.

Sounds like it could be a permissions issue with either the Template or the folder that it is going into.

Doug Kirby

01000100 01101111 01110101 01100111

ISD

kir...@franklinschools.org

317-346-8717

 

 



Tiphaine Maurice

unread,
Sep 28, 2023, 10:29:41 AM9/28/23
to NV Autocrat Add-on
Why there would be a permission issue in Single mode, and not in Multiple mode? 
And it is not a new job, it works for months.

Joseph Schmidt

unread,
Sep 28, 2023, 10:45:40 AM9/28/23
to nv-autocr...@googlegroups.com
So, does it run in multiple output mode?  I don't know how Google allocates resources.  I think others have had this issue before.  

We could discuss the issue or choose to use an option that works.  Single output mode has had issues for many years.

I'm not aware of any change a user can make to fix the problem.  Keeping the template as simple as possible is all that I can suggest.  Also, make the output be a document.

When I have some time, I will run my test with a more complex template.

VdC Ev

unread,
Sep 29, 2023, 7:21:50 AM9/29/23
to NV Autocrat Add-on
Hello everyone!
The same thing is happening to me as to Tiphaine. It's the same error, and it's also happening to me since the same date. I have also been working with this template for a long time, and with other similar ones for years.

I have tried the multiple output mode and it has worked for me, although excessively slow. At least it's a good solution.

It seems to me that it is an error in the script that executes autocrat to send the template with the data to the destination folder. But it only happens in single output mode.

My template contains a logo, and also a table. But I have always used the same template with excellent results.

It's a great tool, can you fix it?

thank you so much!

Joseph Schmidt

unread,
Sep 29, 2023, 8:16:10 AM9/29/23
to nv-autocr...@googlegroups.com
Since it is running slow in multiple output mode, I wonder if that is why you are getting the error when running single output mode.  I ran over 300 rows yesterday and it was very quick.

I suspect a Google resources issue.  I don't believe there is an issue with the script.  This has happened before.

VdC Ev

unread,
Sep 29, 2023, 8:26:53 AM9/29/23
to NV Autocrat Add-on
thanksJoe
And can you think of anything I can do?

Joseph Schmidt

unread,
Sep 29, 2023, 9:06:44 AM9/29/23
to nv-autocr...@googlegroups.com
I would start by eliminating the logo.  There are so many things that can slow down the process that it is difficult to say without seeing the spreadsheet and template.

If the merge runs quicker without the logo, and the ultimate goal is to print the output; Try printing the logo on the paper used to print.  Much like the old days of preprinted stationery.

Julie-Marie Brown

unread,
Oct 12, 2023, 8:28:07 PM10/12/23
to NV Autocrat Add-on
I had the precise same problem for the last few days.  I have changed nothing yet suddenly Autocrat does not think I have access to my own drive or template.  I checked both and permissions and "owner" are all the same as before.  Mine.  Desperately need help.

Joseph Schmidt

unread,
Oct 12, 2023, 10:35:30 PM10/12/23
to nv-autocr...@googlegroups.com
Can you delete the merge and recreate it?  Make sure to use the exact same title and the four columns should stay the same.

Autocrat doesn't work with Shared drives but I'm thinking you are using your drive.
--
You received this message because you are subscribed to the Google Groups "NV Autocrat Add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nv-autocrat-add...@googlegroups.com.

Jon Barnes

unread,
Oct 13, 2023, 8:35:37 AM10/13/23
to NV Autocrat Add-on
I believe I know what the problem is and contacted the only email for Autocrat I could find. They proceeded to tell me to make sure the file wasn't in a shared drive instead of taking this seriously. My suggestion is to find another app. This is a problem with Third-Party access which Google changed recently. It broke for all our users who use Autocrat. From testing, if you use a personal @gmail domain there is no change here. If you use a Google Domain which now requires third-party access settings then this is likely broken from our testing. I believe this has to do with the app being on Google Marketplace which is treated differently from other non-Marketplace third-party apps. For example, I can configure non-marketplace apps and now tell these apps which data they are allowed to see in my Google Domain. In the third-party domain setting area you can see that the marketplace apps are pre-trusted but not configured. I believe because Google sees these are not configured they now lack the access to see your drive and sheet files. My context for proof was testing a Gmail domain that doesn't have the third-party settings attached to the accounts and Autocrat continues to work.

Both Google and Autocrat have their heads in the sand. So best of luck. I still haven't seen a reply from either where they are actually committing to look into the issue. Google said it was third-party and refused to help despite it possibly being a bug. Autocrat hasn't emailed me back beyond the first generic look in this support area for help.
unnamed.png

Joseph Schmidt

unread,
Oct 13, 2023, 1:56:18 PM10/13/23
to nv-autocr...@googlegroups.com, NewVisions CloudLab (via Google Docs), Amanda Smith
I'm just a volunteer.  I tested in my test domain and my personal account and Autocrat runs fine.  I know a security change is coming but I don't think it is here yet.

Have you been able to check with your workplace administrator?  There may be a setting that needs to be changed.

It seems to me that if it was a general issue, there would be a lot more people asking for a fix. It is in the settings somewhere.

You may find some helpful information at https://www.certifyem.com/help-center.

Julie-Marie Brown

unread,
Oct 13, 2023, 3:32:15 PM10/13/23
to NV Autocrat Add-on
It took a couple of tries to identify the exact changes/permissions needed.  But my System Administrator SOLVED THE PROBLEM and now everything is running perfectly once again.  I hope that this information can help others.

Joseph Schmidt

unread,
Oct 13, 2023, 3:50:45 PM10/13/23
to nv-autocr...@googlegroups.com
Thanks for confirming what I thought.

Jon Barnes

unread,
Oct 16, 2023, 11:12:42 AM10/16/23
to NV Autocrat Add-on
Unless you can provide the steps used, this continues to sit in the "bug" category. I am our Google Admin and there are no settings that we can select that don't give Autocrat 100% whitelist and trusted status as a Workplace App as shown in my screenshot provided. Perhaps your admin had the incorrect setting or changed it, at some point. But no settings have changed and Google Support continues to confirm our settings are correct and to take this up with the third party. New Visions Clounlabs continues to not provide support for the issue and seems to have no interest in resolving it.

Jared Carrier

unread,
Oct 16, 2023, 6:56:37 PM10/16/23
to NV Autocrat Add-on
Having the same issues as above. Have run the same merge for years, completing several hundred. Last one was completed 3 days ago. Went to run one today with the same error messages mentioned prior "The Documents service could not access the document with ID" and would crash when it hit the 20 row mark.

Tried both single and multiple output modes with no success. Any breakthroughs here? 

Tiphaine Maurice

unread,
Oct 19, 2023, 7:14:43 AM10/19/23
to NV Autocrat Add-on
No access modification from IT, no modification of our sheet and job, however it's working again... 
Just so that you know. 

Reply all
Reply to author
Forward
0 new messages