Invalid client_id (php)

I keep getting the error

PHP Fatal error:  Uncaught Auth0\SDK\Exception\CoreException: Invalid client_id in /project_folerr/vendor/auth0/auth0-php/src/Auth0.php:268

I followed the quickstart. I have a .env file with all the auth info. My main file looks like this right now:

<?php

require 'vendor/autoload.php';

function new_auth() {
  (Dotenv\Dotenv::createImmutable(__DIR__))->load();
  $auth0 = new \Auth0\SDK\Auth0([
    'domain' => $_SERVER['AUTH0_DOMAIN'],
    'clientId' => $_SERVER['AUTH0_CLIENT_ID'],
    'clientSecret' => $_SERVER['AUTH0_CLIENT_SECRET'],
    'cookieSecret' => $_SERVER['AUTH0_COOKIE_SECRET']
  ]);
  return $auth0;
}

new_auth();

?>

When I run this file, I get the error I mentioned. I have verified that the $_SERVER['AUTH0_CLIENT_ID'] outputs the right client id