520 Server Error trying to upload files to media library

So if we narrow it down to a PM2 issue it could be something like this node.js - Multer upload files with PM2 - Stack Overflow

I’m not using PM2 with this so I can’t say for sure, but it looks to be over that it’s the wrong path it tries upload to.