I have 2 actions that resize and save my files onto a server that no longer seem to be functioning properly.
My workflow is:
edit --> save psd locally --> save a full sized jpg on the server --> save a resized jpg on the server.
I have actions to run the two jpg saves so they automatically get saved in the location on the server that I want them and in the case of the second action it resizes appropriately.

After years of these actions working suddenly today I get an error:

I can't seem to figure out why this is happening. I've restarted a number of times, to no avail.
It seems notable to me that in the error it implies that it's trying to save as the file location with the file name (i.e. \AG-SERVER\...\142548_1.jpg instead of just 142548_1.jpg) . I have tried re-recording the action and it worked while recording it but when I play it I run into the same error.
I am running photoshop 2020 v 21.1 on windows 10. And windows security\ windows defender is off
Any help greatly appreciated.
[Locked dupe post. See:https://community.adobe.com/t5/photoshop/photoshop-save-actions-error-quot-could-not-save-as-quot-qu...]