Saving System Setting fails

I am not sure exactly when it happened but I am no longer able to complete the System Settings save process.

The settings do get saved but the process says it failed (with the standard popup) if I look in the network tab I can see the error returned is that the bin/console cache:clear command is being run with --env=prod

The site is NOT in prod. Any ideas… also what is the default environment if no env settings are set at all?

Thanks for any answers!!

From what I can tell the AJAX request that fails is trying to empty the Redis cache for the prod environment it does not have access to.

How do you stop it from trying to empty that cache?