{"action":"closed","issue":{"url":"https://api.github.com/repos/jmrieger/onesignal-laravel/issues/3","repository_url":"https://api.github.com/repos/jmrieger/onesignal-laravel","labels_url":"https://api.github.com/repos/jmrieger/onesignal-laravel/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jmrieger/onesignal-laravel/issues/3/comments","events_url":"https://api.github.com/repos/jmrieger/onesignal-laravel/issues/3/events","html_url":"https://github.com/jmrieger/onesignal-laravel/issues/3","id":173229362,"number":3,"title":"Error on postPlayer()","user":{"login":"Mwai","id":9860924,"avatar_url":"https://avatars.githubusercontent.com/u/9860924?v=3","gravatar_id":"","url":"https://api.github.com/users/Mwai","html_url":"https://github.com/Mwai","followers_url":"https://api.github.com/users/Mwai/followers","following_url":"https://api.github.com/users/Mwai/following{/other_user}","gists_url":"https://api.github.com/users/Mwai/gists{/gist_id}","starred_url":"https://api.github.com/users/Mwai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mwai/subscriptions","organizations_url":"https://api.github.com/users/Mwai/orgs","repos_url":"https://api.github.com/users/Mwai/repos","events_url":"https://api.github.com/users/Mwai/events{/privacy}","received_events_url":"https://api.github.com/users/Mwai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-25T15:08:09Z","updated_at":"2016-09-06T15:08:41Z","closed_at":"2016-09-06T15:08:41Z","body":"Hey there,\r\nI'm getting the following error when trying to add a new device\r\n\r\n> Client error: `POST https://onesignal.com/api/v1//players` resulted in a `400 Bad Request` response:\r\n> {\"errors\":[\"app_id not found.\"]}\r\n\r\nMy code is as shown below.\r\n\r\n```\r\n$data = [\r\n          \"language\" => \"en\",\r\n          \"device_os\" => \"Windows\",\r\n          \"device_type\" => \"7\",\r\n          \"device_model\" => \"WebKit\"\r\n        ];\r\n$player = OneSignal::postPlayer($data);\r\n```"}}
{"actor":{"display_login":"jmrieger"}}