500 Error /api/v2/system/environment

chmod -R 2777 storage/ bootstrap/cache/

ok - I changed the permission to the above and it seems to work (for now).