Copy link to clipboard
Copied
Hi Team,
The InDesign server throws the below randomly, sometimes it is working fine, and sometimes it tells an error message.
Source: document.save(document.fullName);
Error: Cannot save the document. It may be opened by other applications. Close applications and try again. You may also use Save As to save it into a new document.
Copy link to clipboard
Copied
Hi Team,
The InDesign server throws the below randomly, sometimes it is working fine, and sometimes it tells an error message.
Source: document.save(document.fullName);
Error: Cannot save the document. It may be opened by other applications. Close applications and try again. You may also use Save As to save it into a new document.
By @Balaji Murugesanmydestinycard
Hello, @Balaji Murugesanmydestinycard
The error you’re encountering in InDesign Server when using JavaScript to save a document can be caused by several factors. Here are some steps you can take to troubleshoot and resolve the issue:
Check for Open Instances: Ensure that the document is not open in another instance of InDesign or any other application.
Save As: Try using the ‘Save As’ command to save the document with a different name or location, which can sometimes bypass the issue.
Network Issues: If you’re working on a network, there might be network-related issues causing the file to be locked. Try saving the file locally to see if that resolves the problem.
Scripting Workaround: Modify your script to check if the document is already open and, if so, to not attempt a save operation.
I hope this step is helpful to you.
Best Regard,
gregory109
Find more inspiration, events, and resources on the new Adobe Community
Explore Now