I investigated directly the GET that results in a 404 error.
If I call /api/v2/system/environment, the result is a “Could not find a service for user” error.
Maybe a problem with authentication handling?
This is the full message:
{“error”:{“context”:null,“message”:“Could not find a service for user”,“code”:404,“trace”:[“0 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Cache\Repository.php(292): DreamFactory\Core\Models\Service::DreamFactory\Core\Models\{closure}()”,“1 [internal function]: Illuminate\Cache\Repository->remember(‘service:user’, 300, Object(Closure))”,“2 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Cache\CacheManager.php(296): call_user_func_array(Array, Array)”,“3 X:\Root\df2\bootstrap\cache\compiled.php(6366): Illuminate\Cache\CacheManager->__call(‘remember’, Array)”,“4 X:\Root\df2\bootstrap\cache\compiled.php(6366): Illuminate\Cache\CacheManager->remember(‘service:user’, 300, Object(Closure))”,“5 X:\Root\df2\vendor\dreamfactory\df-core\src\Models\Service.php(294): Illuminate\Support\Facades\Facade::__callStatic(‘remember’, Array)”,“6 X:\Root\df2\vendor\dreamfactory\df-core\src\Models\Service.php(294): Illuminate\Support\Facades\Cache::remember(‘service:user’, 300, Object(Closure))”,“7 X:\Root\df2\bootstrap\cache\compiled.php(17211): DreamFactory\Core\Models\Service::getCachedByName(‘user’)”,“8 X:\Root\df2\bootstrap\cache\compiled.php(17156): DreamFactory\Http\Middleware\AccessCheck::setExceptions()”,“9 [internal function]: DreamFactory\Http\Middleware\AccessCheck->handle(Object(Illuminate\Http\Request), Object(Closure))”,“10 X:\Root\df2\bootstrap\cache\compiled.php(9609): call_user_func_array(Array, Array)”,“11 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“12 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“13 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“14 X:\Root\df2\bootstrap\cache\compiled.php(9594): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“15 X:\Root\df2\bootstrap\cache\compiled.php(9118): Illuminate\Pipeline\Pipeline->then(Object(Closure))”,“16 X:\Root\df2\bootstrap\cache\compiled.php(9105): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(DreamFactory\Http\Controllers\RestController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), ‘handleGET’)”,“17 X:\Root\df2\bootstrap\cache\compiled.php(8173): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), ‘DreamFactory\\Ht…’, ‘handleGET’)”,“18 X:\Root\df2\bootstrap\cache\compiled.php(8160): Illuminate\Routing\Route->runController(Object(Illuminate\Http\Request))”,“19 X:\Root\df2\bootstrap\cache\compiled.php(7874): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))”,“20 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“21 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“22 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“23 X:\Root\df2\bootstrap\cache\compiled.php(9594): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“24 X:\Root\df2\bootstrap\cache\compiled.php(7875): Illuminate\Pipeline\Pipeline->then(Object(Closure))”,“25 X:\Root\df2\bootstrap\cache\compiled.php(7866): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))”,“26 X:\Root\df2\bootstrap\cache\compiled.php(7856): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))”,“27 X:\Root\df2\bootstrap\cache\compiled.php(2400): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))”,“28 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))”,“29 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“30 X:\Root\df2\app\Http\Middleware\AuthCheck.php(178): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“31 [internal function]: DreamFactory\Http\Middleware\AuthCheck->handle(Object(Illuminate\Http\Request), Object(Closure))”,“32 X:\Root\df2\bootstrap\cache\compiled.php(9609): call_user_func_array(Array, Array)”,“33 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“34 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“35 X:\Root\df2\vendor\barryvdh\laravel-cors\src\HandleCors.php(34): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“36 [internal function]: Barryvdh\Cors\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))”,“37 X:\Root\df2\bootstrap\cache\compiled.php(9609): call_user_func_array(Array, Array)”,“38 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“39 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“40 X:\Root\df2\bootstrap\cache\compiled.php(17255): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“41 [internal function]: DreamFactory\Http\Middleware\FirstUserCheck->handle(Object(Illuminate\Http\Request), Object(Closure))”,“42 X:\Root\df2\bootstrap\cache\compiled.php(9609): call_user_func_array(Array, Array)”,“43 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“44 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“45 X:\Root\df2\bootstrap\cache\compiled.php(13048): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“46 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))”,“47 X:\Root\df2\bootstrap\cache\compiled.php(9609): call_user_func_array(Array, Array)”,“48 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“49 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“50 X:\Root\df2\bootstrap\cache\compiled.php(11594): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“51 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))”,“52 X:\Root\df2\bootstrap\cache\compiled.php(9609): call_user_func_array(Array, Array)”,“53 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“54 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“55 X:\Root\df2\bootstrap\cache\compiled.php(12787): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“56 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))”,“57 X:\Root\df2\bootstrap\cache\compiled.php(9609): call_user_func_array(Array, Array)”,“58 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“59 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“60 X:\Root\df2\bootstrap\cache\compiled.php(12724): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“61 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))”,“62 X:\Root\df2\bootstrap\cache\compiled.php(9609): call_user_func_array(Array, Array)”,“63 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“64 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“65 X:\Root\df2\bootstrap\cache\compiled.php(3250): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“66 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))”,“67 X:\Root\df2\bootstrap\cache\compiled.php(9609): call_user_func_array(Array, Array)”,“68 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“69 X:\Root\df2\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“70 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“71 X:\Root\df2\bootstrap\cache\compiled.php(9594): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“72 X:\Root\df2\bootstrap\cache\compiled.php(2347): Illuminate\Pipeline\Pipeline->then(Object(Closure))”,“73 X:\Root\df2\bootstrap\cache\compiled.php(2331): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))”,“74 X:\Root\df2\public\index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))”,“75 {main}”]}}