{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/3468","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/3468/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/3468/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/3468/events","html_url":"https://github.com/Sylius/Sylius/issues/3468","id":112584260,"number":3468,"title":"[API] OAuth client_credentials grant type - Access Denied","user":{"login":"umpirsky","id":208957,"avatar_url":"https://avatars.githubusercontent.com/u/208957?v=3","gravatar_id":"","url":"https://api.github.com/users/umpirsky","html_url":"https://github.com/umpirsky","followers_url":"https://api.github.com/users/umpirsky/followers","following_url":"https://api.github.com/users/umpirsky/following{/other_user}","gists_url":"https://api.github.com/users/umpirsky/gists{/gist_id}","starred_url":"https://api.github.com/users/umpirsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umpirsky/subscriptions","organizations_url":"https://api.github.com/users/umpirsky/orgs","repos_url":"https://api.github.com/users/umpirsky/repos","events_url":"https://api.github.com/users/umpirsky/events{/privacy}","received_events_url":"https://api.github.com/users/umpirsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sylius/Sylius/labels/Support%20Request","name":"Support Request","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-21T13:10:13Z","updated_at":"2015-12-09T20:22:59Z","closed_at":"2015-12-09T16:28:19Z","body":"I tested OAuth authorization on latest master branch.\r\n\r\nIt worked well with `authorization_code` grant type after adding code by hand in `sylius_api_auth_code` table.\r\n\r\nBut when I tried to use `client_credentials` grant type I got `Access Denied`.\r\n\r\nHere is what I tried.\r\n\r\nIn command line created a new client:\r\n\r\n```\r\n$ php app/console sylius:oauth-server:create-client --grant-type=\"password\" --grant-type=\"refresh_token\" --grant-type=\"token\"  --grant-type=\"client_credentials\"\r\n\r\nA new client with public id 15nb4k0qzelcowgk8co4s8084w04scwkg844cw8c8co8cw0c4o, secret 5dlx0x1lzy80ks4owswg4sgscs0kgkos4swsow0occgogo8ook has been added\r\n```\r\n\r\nRequested a new token:\r\n\r\n```\r\nGET http://sylius.dev/app_dev.php/oauth/v2/token?client_id=15nb4k0qzelcowgk8co4s8084w04scwkg844cw8c8co8cw0c4o&client_secret=5dlx0x1lzy80ks4owswg4sgscs0kgkos4swsow0occgogo8ook&grant_type=client_credentials&username=sylius@example.com&password=sylius\r\n```\r\n\r\n```\r\n{\r\n    \"access_token\": \"NjRkOGE2ODc3ZGY2M2UwMTM2MDBiNTY1Y2VhMzNkNjI2ZjZlNWE2ZjY3MDU2ODdhNGI5NDgzZjIzNDllY2Y1NA\",\r\n    \"expires_in\": 3600,\r\n    \"token_type\": \"bearer\",\r\n    \"scope\": null\r\n}\r\n```\r\n\r\nUsed token to access products API:\r\n\r\n```\r\nGET http://sylius.dev/app_dev.php/api/products\r\n```\r\n\r\nUsing `Authorization: Bearer {access_token}` header of course.\r\n\r\nI got:\r\n\r\n```\r\n{\r\n    \"code\": 403,\r\n    \"message\": \"Access Denied.\"\r\n}\r\n```\r\n\r\nI noticed this when I was trying to do same on our (pretty customized) Sylius project which is currently on version `0.12` currently. And I got same, but more verbose error:\r\n\r\n```\r\n[\r\n    {\r\n        \"message\": \"Access Denied\",\r\n        \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\Exception\\\\AccessDeniedHttpException\",\r\n        \"trace\": [\r\n            {\r\n                \"namespace\": \"\",\r\n                \"short_class\": \"\",\r\n                \"class\": \"\",\r\n                \"type\": \"\",\r\n                \"function\": \"\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php\",\r\n                \"line\": 110,\r\n                \"args\": []\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\",\r\n                \"short_class\": \"ExceptionListener\",\r\n                \"class\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\\\\ExceptionListener\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handleAccessDeniedException\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php\",\r\n                \"line\": 88,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\Security\\\\Core\\\\Exception\\\\AccessDeniedException\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\",\r\n                \"short_class\": \"ExceptionListener\",\r\n                \"class\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\\\\ExceptionListener\",\r\n                \"type\": \"->\",\r\n                \"function\": \"onKernelException\",\r\n                \"file\": null,\r\n                \"line\": null,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"\",\r\n                \"short_class\": \"\",\r\n                \"class\": \"\",\r\n                \"type\": \"\",\r\n                \"function\": \"call_user_func\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php\",\r\n                \"line\": 472,\r\n                \"args\": [\r\n                    [\r\n                        \"array\",\r\n                        [\r\n                            [\r\n                                \"object\",\r\n                                \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\\\\ExceptionListener\"\r\n                            ],\r\n                            [\r\n                                \"string\",\r\n                                \"onKernelException\"\r\n                            ]\r\n                        ]\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\",\r\n                \"short_class\": \"TraceableEventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\TraceableEventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\{closure}\",\r\n                \"file\": null,\r\n                \"line\": null,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"\",\r\n                \"short_class\": \"\",\r\n                \"class\": \"\",\r\n                \"type\": \"\",\r\n                \"function\": \"call_user_func\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php\",\r\n                \"line\": 164,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Closure\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\EventDispatcher\",\r\n                \"short_class\": \"EventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"doDispatch\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php\",\r\n                \"line\": 53,\r\n                \"args\": [\r\n                    [\r\n                        \"array\",\r\n                        [\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ]\r\n                        ]\r\n                    ],\r\n                    [\r\n                        \"string\",\r\n                        \"kernel.exception\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\EventDispatcher\",\r\n                \"short_class\": \"EventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"dispatch\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php\",\r\n                \"line\": 170,\r\n                \"args\": [\r\n                    [\r\n                        \"string\",\r\n                        \"kernel.exception\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\EventDispatcher\",\r\n                \"short_class\": \"ContainerAwareEventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\EventDispatcher\\\\ContainerAwareEventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"dispatch\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php\",\r\n                \"line\": 151,\r\n                \"args\": [\r\n                    [\r\n                        \"string\",\r\n                        \"kernel.exception\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\",\r\n                \"short_class\": \"TraceableEventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\TraceableEventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"dispatch\",\r\n                \"file\": \"app/bootstrap.php.cache\",\r\n                \"line\": 12839,\r\n                \"args\": [\r\n                    [\r\n                        \"string\",\r\n                        \"kernel.exception\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\",\r\n                \"short_class\": \"HttpKernel\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\HttpKernel\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handleException\",\r\n                \"file\": \"app/bootstrap.php.cache\",\r\n                \"line\": 12792,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\Security\\\\Core\\\\Exception\\\\AccessDeniedException\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                    ],\r\n                    [\r\n                        \"string\",\r\n                        \"1\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\",\r\n                \"short_class\": \"HttpKernel\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\HttpKernel\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handle\",\r\n                \"file\": \"app/bootstrap.php.cache\",\r\n                \"line\": 12916,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                    ],\r\n                    [\r\n                        \"string\",\r\n                        \"1\"\r\n                    ],\r\n                    [\r\n                        \"boolean\",\r\n                        true\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\\\\DependencyInjection\",\r\n                \"short_class\": \"ContainerAwareHttpKernel\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\DependencyInjection\\\\ContainerAwareHttpKernel\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handle\",\r\n                \"file\": \"app/bootstrap.php.cache\",\r\n                \"line\": 12257,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                    ],\r\n                    [\r\n                        \"string\",\r\n                        \"1\"\r\n                    ],\r\n                    [\r\n                        \"boolean\",\r\n                        true\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\",\r\n                \"short_class\": \"Kernel\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\Kernel\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handle\",\r\n                \"file\": \"web/app_dev.php\",\r\n                \"line\": 42,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                    ]\r\n                ]\r\n            }\r\n        ]\r\n    },\r\n    {\r\n        \"message\": \"Access Denied\",\r\n        \"class\": \"Symfony\\\\Component\\\\Security\\\\Core\\\\Exception\\\\AccessDeniedException\",\r\n        \"trace\": [\r\n            {\r\n                \"namespace\": \"\",\r\n                \"short_class\": \"\",\r\n                \"class\": \"\",\r\n                \"type\": \"\",\r\n                \"function\": \"\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AccessListener.php\",\r\n                \"line\": 70,\r\n                \"args\": []\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\",\r\n                \"short_class\": \"AccessListener\",\r\n                \"class\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\\\\AccessListener\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handle\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall.php\",\r\n                \"line\": 66,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\Security\\\\Http\",\r\n                \"short_class\": \"Firewall\",\r\n                \"class\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\",\r\n                \"type\": \"->\",\r\n                \"function\": \"onKernelRequest\",\r\n                \"file\": null,\r\n                \"line\": null,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"\",\r\n                \"short_class\": \"\",\r\n                \"class\": \"\",\r\n                \"type\": \"\",\r\n                \"function\": \"call_user_func\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php\",\r\n                \"line\": 472,\r\n                \"args\": [\r\n                    [\r\n                        \"array\",\r\n                        [\r\n                            [\r\n                                \"object\",\r\n                                \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\"\r\n                            ],\r\n                            [\r\n                                \"string\",\r\n                                \"onKernelRequest\"\r\n                            ]\r\n                        ]\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\",\r\n                \"short_class\": \"TraceableEventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\TraceableEventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\{closure}\",\r\n                \"file\": null,\r\n                \"line\": null,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"\",\r\n                \"short_class\": \"\",\r\n                \"class\": \"\",\r\n                \"type\": \"\",\r\n                \"function\": \"call_user_func\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php\",\r\n                \"line\": 164,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Closure\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\EventDispatcher\",\r\n                \"short_class\": \"EventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"doDispatch\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php\",\r\n                \"line\": 53,\r\n                \"args\": [\r\n                    [\r\n                        \"array\",\r\n                        [\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ],\r\n                            [\r\n                                \"object\",\r\n                                \"Closure\"\r\n                            ]\r\n                        ]\r\n                    ],\r\n                    [\r\n                        \"string\",\r\n                        \"kernel.request\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\EventDispatcher\",\r\n                \"short_class\": \"EventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"dispatch\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php\",\r\n                \"line\": 170,\r\n                \"args\": [\r\n                    [\r\n                        \"string\",\r\n                        \"kernel.request\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\EventDispatcher\",\r\n                \"short_class\": \"ContainerAwareEventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\EventDispatcher\\\\ContainerAwareEventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"dispatch\",\r\n                \"file\": \"vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php\",\r\n                \"line\": 151,\r\n                \"args\": [\r\n                    [\r\n                        \"string\",\r\n                        \"kernel.request\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\",\r\n                \"short_class\": \"TraceableEventDispatcher\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\TraceableEventDispatcher\",\r\n                \"type\": \"->\",\r\n                \"function\": \"dispatch\",\r\n                \"file\": \"app/bootstrap.php.cache\",\r\n                \"line\": 12802,\r\n                \"args\": [\r\n                    [\r\n                        \"string\",\r\n                        \"kernel.request\"\r\n                    ],\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\",\r\n                \"short_class\": \"HttpKernel\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\HttpKernel\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handleRaw\",\r\n                \"file\": \"app/bootstrap.php.cache\",\r\n                \"line\": 12787,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                    ],\r\n                    [\r\n                        \"string\",\r\n                        \"1\"\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\",\r\n                \"short_class\": \"HttpKernel\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\HttpKernel\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handle\",\r\n                \"file\": \"app/bootstrap.php.cache\",\r\n                \"line\": 12916,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                    ],\r\n                    [\r\n                        \"string\",\r\n                        \"1\"\r\n                    ],\r\n                    [\r\n                        \"boolean\",\r\n                        true\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\\\\DependencyInjection\",\r\n                \"short_class\": \"ContainerAwareHttpKernel\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\DependencyInjection\\\\ContainerAwareHttpKernel\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handle\",\r\n                \"file\": \"app/bootstrap.php.cache\",\r\n                \"line\": 12257,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                    ],\r\n                    [\r\n                        \"string\",\r\n                        \"1\"\r\n                    ],\r\n                    [\r\n                        \"boolean\",\r\n                        true\r\n                    ]\r\n                ]\r\n            },\r\n            {\r\n                \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\",\r\n                \"short_class\": \"Kernel\",\r\n                \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\Kernel\",\r\n                \"type\": \"->\",\r\n                \"function\": \"handle\",\r\n                \"file\": \"web/app_dev.php\",\r\n                \"line\": 42,\r\n                \"args\": [\r\n                    [\r\n                        \"object\",\r\n                        \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                    ]\r\n                ]\r\n            }\r\n        ]\r\n    }\r\n]\r\n```\r\n\r\nDo you have any idea? Am I doing something wrong?\r\n\r\n/cc @pjedrzejewski @michalmarcinkowski "},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/163381579","html_url":"https://github.com/Sylius/Sylius/issues/3468#issuecomment-163381579","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/3468","id":163381579,"user":{"login":"umpirsky","id":208957,"avatar_url":"https://avatars.githubusercontent.com/u/208957?v=3","gravatar_id":"","url":"https://api.github.com/users/umpirsky","html_url":"https://github.com/umpirsky","followers_url":"https://api.github.com/users/umpirsky/followers","following_url":"https://api.github.com/users/umpirsky/following{/other_user}","gists_url":"https://api.github.com/users/umpirsky/gists{/gist_id}","starred_url":"https://api.github.com/users/umpirsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umpirsky/subscriptions","organizations_url":"https://api.github.com/users/umpirsky/orgs","repos_url":"https://api.github.com/users/umpirsky/repos","events_url":"https://api.github.com/users/umpirsky/events{/privacy}","received_events_url":"https://api.github.com/users/umpirsky/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T20:22:59Z","updated_at":"2015-12-09T20:22:59Z","body":"@michalmarcinkowski Thanks, I think it was my local issue, do not remember now tbh. :)\r\n"}}