Created
April 24, 2017 12:55
-
-
Save kamaulynder/f901adb266fbd0b681fe6d75bc625c0c to your computer and use it in GitHub Desktop.
This file contains 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
angular.js:14328 Possibly unhandled rejection: {"data":{"message":"422 Unprocessable Entity","errors":{"file":["The file field is required."]},"status_code":422,"debug":{"line":22,"file":"/home/vagrant/rollcall/vendor/dingo/api/src/Http/FormRequest.php","class":"Dingo\\Api\\Exception\\ValidationHttpException","trace":["#0 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Validation/ValidatesWhenResolvedTrait.php(24): Dingo\\Api\\Http\\FormRequest->failedValidation(Object(Illuminate\\Validation\\Validator))","#1 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Foundation/Providers/FoundationServiceProvider.php(41): Illuminate\\Foundation\\Http\\FormRequest->validate()","#2 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Container/Container.php(1046): Illuminate\\Foundation\\Providers\\FoundationServiceProvider->Illuminate\\Foundation\\Providers\\{closure}(Object(RollCall\\Http\\Requests\\FileUpload\\CreateFileUploadRequest), Object(Illuminate\\Foundation\\Application))","#3 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Container/Container.php(1011): Illuminate\\Container\\Container->fireCallbackArray(Object(RollCall\\Http\\Requests\\FileUpload\\CreateFileUploadRequest), Array)","#4 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Container/Container.php(663): Illuminate\\Container\\Container->fireResolvingCallbacks('RollCall\\\\Http\\\\R...', Object(RollCall\\Http\\Requests\\FileUpload\\CreateFileUploadRequest))","#5 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->make('RollCall\\\\Http\\\\R...', Array)","#6 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/RouteDependencyResolverTrait.php(85): Illuminate\\Foundation\\Application->make('RollCall\\\\Http\\\\R...')","#7 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/RouteDependencyResolverTrait.php(59): Illuminate\\Routing\\ControllerDispatcher->transformDependency(Object(ReflectionParameter), Array, Array)","#8 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/RouteDependencyResolverTrait.php(42): Illuminate\\Routing\\ControllerDispatcher->resolveMethodDependencies(Array, Object(ReflectionMethod))","#9 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(41): Illuminate\\Routing\\ControllerDispatcher->resolveClassMethodDependencies(Array, Object(RollCall\\Http\\Controllers\\Api\\First\\ContactFilesController), 'create')","#10 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Route.php(190): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(RollCall\\Http\\Controllers\\Api\\First\\ContactFilesController), 'create')","#11 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Route.php(144): Illuminate\\Routing\\Route->runController()","#12 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Router.php(653): Illuminate\\Routing\\Route->run(Object(Dingo\\Api\\Http\\Request))","#13 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Dingo\\Api\\Http\\Request))","#14 /home/vagrant/rollcall/vendor/dingo/api/src/Http/Middleware/Auth.php(55): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Dingo\\Api\\Http\\Request))","#15 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Dingo\\Api\\Http\\Middleware\\Auth->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#16 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#17 /home/vagrant/rollcall/vendor/dingo/api/src/Http/Middleware/PrepareController.php(45): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Dingo\\Api\\Http\\Request))","#18 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Dingo\\Api\\Http\\Middleware\\PrepareController->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#19 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#20 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Dingo\\Api\\Http\\Request))","#21 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Router.php(655): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#22 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Router.php(629): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Dingo\\Api\\Http\\Request))","#23 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Router.php(607): Illuminate\\Routing\\Router->dispatchToRoute(Object(Dingo\\Api\\Http\\Request))","#24 /home/vagrant/rollcall/vendor/dingo/api/src/Routing/Adapter/Laravel.php(81): Illuminate\\Routing\\Router->dispatch(Object(Dingo\\Api\\Http\\Request))","#25 /home/vagrant/rollcall/vendor/dingo/api/src/Routing/Router.php(513): Dingo\\Api\\Routing\\Adapter\\Laravel->dispatch(Object(Dingo\\Api\\Http\\Request), 'v1')","#26 /home/vagrant/rollcall/vendor/dingo/api/src/Http/Middleware/Request.php(126): Dingo\\Api\\Routing\\Router->dispatch(Object(Dingo\\Api\\Http\\Request))","#27 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Dingo\\Api\\Http\\Middleware\\Request->Dingo\\Api\\Http\\Middleware\\{closure}(Object(Dingo\\Api\\Http\\Request))","#28 /home/vagrant/rollcall/vendor/barryvdh/laravel-cors/src/HandleCors.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#29 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Barryvdh\\Cors\\HandleCors->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#30 /home/vagrant/rollcall/vendor/lucadegasperi/oauth2-server-laravel/src/Middleware/OAuthExceptionHandlerMiddleware.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#31 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): LucaDegasperi\\OAuth2Server\\Middleware\\OAuthExceptionHandlerMiddleware->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#32 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#33 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#34 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#35 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#36 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#37 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#38 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#39 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#40 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#41 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#42 /home/vagrant/rollcall/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkMiddleware.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#43 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Clockwork\\Support\\Laravel\\ClockworkMiddleware->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#44 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#45 /home/vagrant/rollcall/vendor/dingo/api/src/Http/Middleware/Request.php(127): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#46 /home/vagrant/rollcall/vendor/dingo/api/src/Http/Middleware/Request.php(103): Dingo\\Api\\Http\\Middleware\\Request->sendRequestThroughRouter(Object(Dingo\\Api\\Http\\Request))","#47 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Dingo\\Api\\Http\\Middleware\\Request->handle(Object(Illuminate\\Http\\Request), Object(Closure))","#48 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","#49 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","#50 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(150): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#51 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(117): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))","#52 /home/vagrant/rollcall/public/index.php(54): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))","#53 {main}"]}},"status":422,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","data":{"orgId":1,"file":{}},"url":"http://api.rollcall.dev/api/v1/organizations/1/contacts/files","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","Authorization":"Bearer N3F2F93HWZaQZvOQhBc0ka0cKyy5Ojd52L3xLAul"}},"statusText":"Unprocessable Entity"} | |
| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment