You said you have the record in the database, but do you have the file in the file system? The error would imply that is missing.
It may be worth adding a new copy of the file, committing it, and then running your action against that.
It is also always worth checking security, and that the user role running the action has the correct access rights to the entity.
Good luck!