error Invalid requests[36]

565 views
Skip to first unread message

Kaizen Luiza

unread,
Jan 7, 2022, 8:44:24 AM1/7/22
to NV Autocrat Add-on
Need help! my Job is giving the error below: GoogleJsonResponseException: API call to slides.presentations.batchUpdate failed with error Invalid requests[36].replaceAllShapesWithImage: Access to the provided image was forbidden. This causes the PDF not to generate and consequently the email is not sent. Eventually the job works, but most of the time it doesn't.

Joseph Schmidt

unread,
Jan 7, 2022, 9:04:21 AM1/7/22
to nv-autocr...@googlegroups.com
Are you trying to merge an image?  Is the access to the image file set to anyone with the link?



On Fri, Jan 7, 2022 at 8:44 AM 'Kaizen Luiza' via NV Autocrat Add-on <nv-autocr...@googlegroups.com> wrote:
Need help! my Job is giving the error below: GoogleJsonResponseException: API call to slides.presentations.batchUpdate failed with error Invalid requests[36].replaceAllShapesWithImage: Access to the provided image was forbidden. This causes the PDF not to generate and consequently the email is not sent. Eventually the job works, but most of the time it doesn't.



‘Esta mensagem é direcionada apenas para os endereços constantes no cabeçalho inicial. Se você não está listado nos endereços constantes no cabeçalho, pedimos-lhe que desconsidere completamente o conteúdo dessa mensagem e cuja cópia, encaminhamento e/ou execução das ações citadas estão imediatamente anuladas e proibidas’.

 ‘Apesar do Magazine Luiza tomar todas as precauções razoáveis para assegurar que nenhum vírus esteja presente nesse e-mail, a empresa não poderá aceitar a responsabilidade por quaisquer perdas ou danos causados por esse e-mail ou por seus anexos’.

--
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/db6c1d49-fc5d-41e5-b7ac-d947aa7f51f1n%40googlegroups.com.

Kaizen Luiza

unread,
Jan 7, 2022, 9:44:04 AM1/7/22
to NV Autocrat Add-on

yea! all folders where the images/PDF are saved are shared to "Anyone on the Internet with this link can edit (login required)"

Joseph Schmidt

unread,
Jan 7, 2022, 9:56:59 AM1/7/22
to nv-autocr...@googlegroups.com
The images have to be anyone can view with the link.  No sign on required.

Kaizen Luiza

unread,
Jan 7, 2022, 11:42:33 AM1/7/22
to NV Autocrat Add-on
initially, it was published for anyone on the internet, but as I'm doing it from a corporate email, it asks for a necessary login. I did the test by changing the folder's access to anyone within the organization and I got a different error: GoogleJsonResponseException: API call to slides.presentations.batchUpdate failed with error Invalid requests[36].replaceAllShapesWithImage: There was a problem retrieving the image. The provided image should be publicly accessible, within size limit, and in supported formats

Joseph Schmidt

unread,
Jan 7, 2022, 12:54:09 PM1/7/22
to nv-autocr...@googlegroups.com
You will continue to have a problem.  Autocrat is trying to read the image and Autocrat doesn't belong to your organization.

Anyone with the link can view is the only permission that will work.  How will folks get the link in the first place?  
Reply all
Reply to author
Forward
0 new messages