# Validation of "cookiePath" was unsuccessful

**URL:** <https://community.auth0.com/t/validation-of-cookiepath-was-unsuccessful/94745>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, auth0-php, configuration, application\
**Created:** [November 19, 2022, 8:04am UTC](https://community.auth0.com/t/validation-of-cookiepath-was-unsuccessful/94745 "2022-11-19T08:04:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoshida\_seiichi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yoshida_seiichi/32/39416_2.png) [@yoshida\_seiichi](https://community.auth0.com/u/yoshida_seiichi)\
**Post date:** [November 19, 2022, 8:04am UTC](https://community.auth0.com/t/validation-of-cookiepath-was-unsuccessful/94745/1 "2022-11-19T08:04:01Z")

</div>

In Laravel 9, I get the following error when I do a composer install.  
I don’t know how to solve this problem.  
Please help.

```auto
$ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   Auth0\SDK\Exception\ConfigurationException 

  Validation of "cookiePath" was unsuccessful

  at vendor/auth0/auth0-php/src/Exception/ConfigurationException.php:156
    152▕ public static function validationFailed(
    153▕ string $propertyName,
    154▕ ?\Throwable $previous = null
    155▕ ): self {
  ➜ 156▕ return new self(sprintf(self::MSG_VALIDATION_FAILED, $propertyName), 0, $previous);
    157▕ }
    158▕ 
    159▕ public static function invalidAlgorithm(
    160▕ ?\Throwable $previous = null

      +7 vendor frames 
  8 routes/web.php:52
      Illuminate\Support\Facades\Facade::__callStatic()

      +3 vendor frames 
  12 routes/web.php:90
      Illuminate\Routing\RouteRegistrar::group()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

```

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [November 20, 2022, 8:36pm UTC](https://community.auth0.com/t/validation-of-cookiepath-was-unsuccessful/94745/2 "2022-11-20T20:36:30Z")

</div>

Hi @yoshida_seiichi

Welcome to the Auth0 Community! It’s great to have you on board 😃

Thanks for highlighting this issue, looks like our SDK team has seen this before, please review the fix here [https://github.com/auth0/laravel-auth0/issues/330](https://github.com/auth0/laravel-auth0/issues/330)

Hopefully this will resolve the issue for you.

Warm regards.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 4, 2022, 8:36pm UTC](https://community.auth0.com/t/validation-of-cookiepath-was-unsuccessful/94745/3 "2022-12-04T20:36:54Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
