When trying to update the API plugin I get this error:
Unable to boot ApiServiceProvider, configure an API domain or prefix

"Unable to boot ApiServiceProvider, configure an API domain or prefix." on line 83 of /home/hola/web/XXXXXX/public_html/extensions/igniter/api/vendor/dingo/api/src/Provider/DingoServiceProvider.php#0 /home/hola/web/XXXXXX/public_html/extensions/igniter/api/vendor/dingo/api/src/Provider/DingoServiceProvider.php(47): Dingo\Api\Provider\DingoServiceProvider->registerConfig() #1 /home/hola/web/XXXXXX/public_html/extensions/igniter/api/vendor/dingo/api/src/Provider/LaravelServiceProvider.php(112): Dingo\Api\Provider\DingoServiceProvider->register() #2 /home/hola/web/XXXXXX/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(682): Dingo\Api\Provider\LaravelServiceProvider->register() #3

    jorgelig
    I faced same issue and then clear cache. Now, OK already.

    php artisan config:cache
    php artisan config:clear

    Please make sure \extensions\igniter\api\config\api.php
    ‘prefix’ => env(‘API_PREFIX’, ‘api’),

      sweethtike740

      I already saw the file you mention and if it has a prefix defined, it also adds it in the i .env file as an environment variable; but to run the commands that he mentions I get this error:

      `In Handler.php line 67:


      Dingo\Api\Exception\Handler::__construct(): Argument #2 ($format) must be of type array, null given, called in
      /home/hola/web/XXXXXX/public_html/extensions/igniter/api/vendor/dingo/api/src/Provider/Din
      goServiceProvider.php on line 123 `

      And when loading the page I still get the same error as my first publication Unable to boot ApiServiceProvider, configure an API domain or prefix.

        jorgelig
        Could you please remove api extension and add again. Then, do the process as I mentioned above.
        For me is so far ok.

        Couldn’t load any admin page, so I deleted the api folder inside extensions.

        After the extension manager tried to install api and I got the same error for which I made the publication.

        I also validated that the extensions/igniter/api/config/api.php file is correct

            /*
            |--------------------------------------------------------------------------
            | Default API Prefix
            |--------------------------------------------------------------------------
            |
            | A default prefix to use for your API routes so you don't have to
            | specify it for each group.
            |
            */
        
            'prefix' => env('API_PREFIX', 'api'),