Should anyone find this. The issue here was that the folder Strapi was trying to write the sitemap file to was a root root folder. Updated the folder to the Strapi user and it worked.
Should anyone find this. The issue here was that the folder Strapi was trying to write the sitemap file to was a root root folder. Updated the folder to the Strapi user and it worked.