{"action":"created","issue":{"url":"https://api.github.com/repos/NicklasWallgren/PokemonGoAPI-PHP/issues/175","repository_url":"https://api.github.com/repos/NicklasWallgren/PokemonGoAPI-PHP","labels_url":"https://api.github.com/repos/NicklasWallgren/PokemonGoAPI-PHP/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/NicklasWallgren/PokemonGoAPI-PHP/issues/175/comments","events_url":"https://api.github.com/repos/NicklasWallgren/PokemonGoAPI-PHP/issues/175/events","html_url":"https://github.com/NicklasWallgren/PokemonGoAPI-PHP/issues/175","id":206719257,"number":175,"title":"Fatal error: Uncaught Exception: Retrieved a unknown status code 100","user":{"login":"devhwi","id":13517927,"avatar_url":"https://avatars.githubusercontent.com/u/13517927?v=3","gravatar_id":"","url":"https://api.github.com/users/devhwi","html_url":"https://github.com/devhwi","followers_url":"https://api.github.com/users/devhwi/followers","following_url":"https://api.github.com/users/devhwi/following{/other_user}","gists_url":"https://api.github.com/users/devhwi/gists{/gist_id}","starred_url":"https://api.github.com/users/devhwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devhwi/subscriptions","organizations_url":"https://api.github.com/users/devhwi/orgs","repos_url":"https://api.github.com/users/devhwi/repos","events_url":"https://api.github.com/users/devhwi/events{/privacy}","received_events_url":"https://api.github.com/users/devhwi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-10T06:30:18Z","updated_at":"2017-02-15T06:48:52Z","closed_at":null,"body":"I have a question.\r\n\r\nWhen I use getPokeBank() functionn, I get the error below.\r\n\r\nFatal error: Uncaught Exception: Retrieved a unknown status code 100\r\n  in /vendor/nicklasw/pkm-go-api/src/Handlers/RequestHandler.php:163\r\n\r\n```\r\nStack trace:\r\n  #0 /vendor/nicklasw/pkm-go-api/src/Services/Request/InventoryRequestService.php(27):\r\n    NicklasW\\PkmGoApi\\Handlers\\RequestHandler->handle(Object(NicklasW\\PkmGoApi\\Requests\\GetInventoryRequest))\r\n  #1 /vendor/nicklasw/pkm-go-api/src/Api/Player/Inventory.php(69):\r\n    NicklasW\\PkmGoApi\\Services\\Request\\InventoryRequestService->getInventory()\r\n  #2 /vendor/nicklasw/pkm-go-api/src/Api/Procedure.php(52):\r\n    NicklasW\\PkmGoApi\\Api\\Player\\Inventory->update() #3 /test.php(61):\r\n\r\nNicklasW\\PkmGoApi\\Api\\Procedure->__call('getPokeBank', Array) #4 {main} thrown\r\n  in /vendor/nicklasw/pkm-go-api/src/Handlers/RequestHandler.php on line 163\r\n```\r\n\r\nHow can I solve this error?\r\n\r\nmy source code is..\r\n\r\n```php\r\n// Authentication via Google user credentials\r\n\r\n$manager = Factory::create($config);\r\n\r\n$manager->addListener(function ($event, $value) {\r\n  if ($event === Manager::EVENT_ACCESS_TOKEN) {\r\n    $accessToken = $value;\r\n  }\r\n});\r\n\r\n// Initialize the pokemon go application\r\n$application = new ApplicationKernel($manager);\r\n\r\n$pokemonGoApi = $application->getPokemonGoApi();\r\n\r\n$journal = $pokemonGoApi->getJournal();\r\n\r\n$inventory = $pokemonGoApi->getInventory();\r\n\r\n$pokeBank = $inventory->getPokeBank(); // At this code, There is the error\r\n```"},"comment":{"url":"https://api.github.com/repos/NicklasWallgren/PokemonGoAPI-PHP/issues/comments/279931004","html_url":"https://github.com/NicklasWallgren/PokemonGoAPI-PHP/issues/175#issuecomment-279931004","issue_url":"https://api.github.com/repos/NicklasWallgren/PokemonGoAPI-PHP/issues/175","id":279931004,"user":{"login":"devhwi","id":13517927,"avatar_url":"https://avatars.githubusercontent.com/u/13517927?v=3","gravatar_id":"","url":"https://api.github.com/users/devhwi","html_url":"https://github.com/devhwi","followers_url":"https://api.github.com/users/devhwi/followers","following_url":"https://api.github.com/users/devhwi/following{/other_user}","gists_url":"https://api.github.com/users/devhwi/gists{/gist_id}","starred_url":"https://api.github.com/users/devhwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devhwi/subscriptions","organizations_url":"https://api.github.com/users/devhwi/orgs","repos_url":"https://api.github.com/users/devhwi/repos","events_url":"https://api.github.com/users/devhwi/events{/privacy}","received_events_url":"https://api.github.com/users/devhwi/received_events","type":"User","site_admin":false},"created_at":"2017-02-15T06:48:52Z","updated_at":"2017-02-15T06:48:52Z","body":"@NicklasWallgren  I already wrote auth info. hmm... I'll try it again and ask again :)\r\n@voxx Does your source work now? I should try again.."}}
{"actor":{"display_login":"devhwi"}}