Uploads folder in next app not working in production

An uploads folder takes images via file stream then sends the uploaded item to Wordpress via Next API route. The system works locally but there is an issue on the live site:

Featured Media
Error: {“message”:“Server error”,“error”:“ENOENT: no such file or directory, open ‘/var/task/uploads/c5e7e20dc8252f41ab0930201.png’”}

How are you reading the file? Filesystem is not the same as it would be locally when deployed to AWS Lambda.