Issue with The image could not be inserted Error in Google Sheets GAS

I encountered an error while using a method in Google Sheets' GAS.

Exception: The image could not be inserted. Please verify it is valid and try again

  • I have been using this method 54 times a day for the past six months, and suddenly an error occurred.
  • No error occurs with other methods.
  • After copying the target spreadsheet and executing the same GAS, the error does not occur.
  • It is not a problem related to permissions or authentication (confirmed via script).
  • Using the insertImage method.
  • I suspect it might be a limitation of the method.

How can I resolve this issue? While using the copied version is an option, it is inconvenient if this error occurs every six months.

0 0 171
0 REPLIES 0
Top Labels in this Space
Top Solution Authors