function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Martina OmpusungguMartina Ompusunggu 

salesforce problem with the OnClick JavaScript for this button or link was encountered: {faultcode:'soapenv:Server',faultstring:'Subscript is invalid because list is empty',}

Hi,
I was click a button to generate a document but I don't know why this appeared (see below). I didn't change any codes. Why this is happend? How can I fix this?
Any solutions?
User-added image
Shruti SShruti S
Could you please share your JavaScript code? It will help me to analyse the problem better.