Created
March 24, 2016 12:49
-
-
Save kamaulynder/2a72eeb51b27ab8eac99 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"message":"The resource owner or authorization server denied the request.","status_code":401,"debug":{"line":86,"file":"\/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Auth\/Provider\/OAuth2.php","class":"Symfony\\Component\\HttpKernel\\Exception\\UnauthorizedHttpException","trace":["#0 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Auth\/Auth.php(82): Dingo\\Api\\Auth\\Provider\\OAuth2->authenticate(Object(Dingo\\Api\\Http\\Request), Object(Dingo\\Api\\Routing\\Route))","#1 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Auth.php(50): Dingo\\Api\\Auth\\Auth->authenticate(Array)","#2 [internal function]: Dingo\\Api\\Http\\Middleware\\Auth->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#3 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#4 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#5 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(103): call_user_func(Object(Closure), Object(Dingo\\Api\\Http\\Request))","#6 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(710): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#7 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(675): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Dingo\\Api\\Http\\Request))","#8 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(635): Illuminate\\Routing\\Router->dispatchToRoute(Object(Dingo\\Api\\Http\\Request))","#9 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Routing\/Adapter\/Laravel.php(65): Illuminate\\Routing\\Router->dispatch(Object(Dingo\\Api\\Http\\Request))","#10 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Routing\/Router.php(526): Dingo\\Api\\Routing\\Adapter\\Laravel->dispatch(Object(Dingo\\Api\\Http\\Request), 'v1')","#11 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Request.php(93): Dingo\\Api\\Routing\\Router->dispatch(Object(Dingo\\Api\\Http\\Request))","#12 [internal function]: Dingo\\Api\\Http\\Middleware\\Request->Dingo\\Api\\Http\\Middleware\\{closure}(Object(Dingo\\Api\\Http\\Request))","#13 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(139): call_user_func(Object(Closure), Object(Dingo\\Api\\Http\\Request))","#14 \/home\/vagrant\/rollcall\/vendor\/lucadegasperi\/oauth2-server-laravel\/src\/Middleware\/OAuthExceptionHandlerMiddleware.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#15 [internal function]: LucaDegasperi\\OAuth2Server\\Middleware\\OAuthExceptionHandlerMiddleware->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#16 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#17 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Middleware\/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#18 [internal function]: Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#19 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#20 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php(62): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#21 [internal function]: Illuminate\\Session\\Middleware\\StartSession->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#22 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#23 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Cookie\/Middleware\/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#24 [internal function]: Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#25 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#26 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Cookie\/Middleware\/EncryptCookies.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#27 [internal function]: Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#28 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#29 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/CheckForMaintenanceMode.php(44): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#30 [internal function]: Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#31 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#32 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#33 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(103): call_user_func(Object(Closure), Object(Dingo\\Api\\Http\\Request))","#34 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Request.php(94): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#35 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Request.php(75): Dingo\\Api\\Http\\Middleware\\Request->sendRequestThroughRouter(Object(Dingo\\Api\\Http\\Request))","#36 [internal function]: Dingo\\Api\\Http\\Middleware\\Request->handle(Object(Illuminate\\Http\\Request), Object(Closure))","#37 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#38 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","#39 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","#40 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php(122): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#41 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php(87): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))","#42 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/Lib\/Connector\/Laravel5.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))","#43 \/home\/vagrant\/rollcall\/vendor\/symfony\/http-kernel\/Client.php(79): Codeception\\Lib\\Connector\\Laravel5->handle(Object(Symfony\\Component\\HttpFoundation\\Request))","#44 \/home\/vagrant\/rollcall\/vendor\/symfony\/browser-kit\/Client.php(315): Symfony\\Component\\HttpKernel\\Client->doRequest(Object(Symfony\\Component\\HttpFoundation\\Request))","#45 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/Module\/REST.php(393): Symfony\\Component\\BrowserKit\\Client->request('PUT', 'http:\/\/api.roll...', Array, Array, Array, '{\"name\":\"Team R...')","#46 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/Module\/REST.php(268): Codeception\\Module\\REST->execute('PUT', '\/users\/12', Array, Array)","#47 [internal function]: Codeception\\Module\\REST->sendPUT('\/users\/12', Array)","#48 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/Step.php(125): call_user_func_array(Array, Array)","#49 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/TestCase\/Shared\/Actor.php(67): Codeception\\Step->run()","#50 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/Scenario.php(94): Codeception\\TestCase\\Cest->runStep(Object(Codeception\\Step\\Action))","#51 \/home\/vagrant\/rollcall\/tests\/api\/ApiTester.php(2735): Codeception\\Scenario->runStep(Object(Codeception\\Step\\Action))","#52 \/home\/vagrant\/rollcall\/tests\/api\/UserCest.php(55): ApiTester->sendPUT('\/users\/12', Array)","#53 [internal function]: UserCest->updateUser(Object(ApiTester), Object(Codeception\\Scenario))","#54 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/TestCase\/Cest.php(136): call_user_func(Array, Object(ApiTester), Object(Codeception\\Scenario))","#55 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/TestCase\/Cest.php(61): Codeception\\TestCase\\Cest->executeTestMethod(Object(ApiTester))","#56 [internal function]: Codeception\\TestCase\\Cest->testCodecept()","#57 \/home\/vagrant\/rollcall\/vendor\/phpunit\/phpunit\/src\/Framework\/TestCase.php(866): ReflectionMethod->invokeArgs(Object(Codeception\\TestCase\\Cest), Array)","#58 \/home\/vagrant\/rollcall\/vendor\/phpunit\/phpunit\/src\/Framework\/TestCase.php(743): PHPUnit_Framework_TestCase->runTest()","#59 \/home\/vagrant\/rollcall\/vendor\/phpunit\/phpunit\/src\/Framework\/TestResult.php(609): PHPUnit_Framework_TestCase->runBare()","#60 \/home\/vagrant\/rollcall\/vendor\/phpunit\/phpunit\/src\/Framework\/TestCase.php(699): PHPUnit_Framework_TestResult->run(Object(Codeception\\TestCase\\Cest))","#61 \/home\/vagrant\/rollcall\/vendor\/phpunit\/phpunit\/src\/Framework\/TestSuite.php(722): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))","#62 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/PHPUnit\/Runner.php(100): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))","#63 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/SuiteManager.php(157): Codeception\\PHPUnit\\Runner->doEnhancedRun(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestResult), Array)","#64 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/Codecept.php(173): Codeception\\SuiteManager->run(Object(Codeception\\PHPUnit\\Runner), Object(PHPUnit_Framework_TestResult), Array)","#65 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/Codecept.php(156): Codeception\\Codecept->runSuite(Array, 'api', 'UserCest.php')","#66 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/src\/Codeception\/Command\/Run.php(187): Codeception\\Codecept->run('api', 'UserCest.php')","#67 \/home\/vagrant\/rollcall\/vendor\/symfony\/console\/Command\/Command.php(256): Codeception\\Command\\Run->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))","#68 \/home\/vagrant\/rollcall\/vendor\/symfony\/console\/Application.php(841): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))","#69 \/home\/vagrant\/rollcall\/vendor\/symfony\/console\/Application.php(189): Symfony\\Component\\Console\\Application->doRunCommand(Object(Codeception\\Command\\Run), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))","#70 \/home\/vagrant\/rollcall\/vendor\/symfony\/console\/Application.php(120): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))","#71 \/home\/vagrant\/rollcall\/vendor\/codeception\/codeception\/codecept(27): Symfony\\Component\\Console\\Application->run()","#72 {main}"]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment