{"action":"created","issue":{"url":"https://api.github.com/repos/ajimix/asana-api-php-class/issues/12","labels_url":"https://api.github.com/repos/ajimix/asana-api-php-class/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ajimix/asana-api-php-class/issues/12/comments","events_url":"https://api.github.com/repos/ajimix/asana-api-php-class/issues/12/events","html_url":"https://github.com/ajimix/asana-api-php-class/issues/12","id":18854921,"number":12,"title":"createProject() returns 400 error","user":{"login":"ryanhightower","id":495976,"avatar_url":"https://avatars.githubusercontent.com/u/495976?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanhightower","html_url":"https://github.com/ryanhightower","followers_url":"https://api.github.com/users/ryanhightower/followers","following_url":"https://api.github.com/users/ryanhightower/following{/other_user}","gists_url":"https://api.github.com/users/ryanhightower/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanhightower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanhightower/subscriptions","organizations_url":"https://api.github.com/users/ryanhightower/orgs","repos_url":"https://api.github.com/users/ryanhightower/repos","events_url":"https://api.github.com/users/ryanhightower/events{/privacy}","received_events_url":"https://api.github.com/users/ryanhightower/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-09-02T09:00:27Z","updated_at":"2015-05-18T12:47:41Z","closed_at":"2013-11-23T14:28:14Z","body":"I can't get createProject() to work. I am getting the correct workspace from getWorkspaces (I know this because I can create a task), but createProject always returns 400 error. Can you provide a code sample that works? \r\n\r\nThanks so much for your help!"},"comment":{"url":"https://api.github.com/repos/ajimix/asana-api-php-class/issues/comments/103049336","html_url":"https://github.com/ajimix/asana-api-php-class/issues/12#issuecomment-103049336","issue_url":"https://api.github.com/repos/ajimix/asana-api-php-class/issues/12","id":103049336,"user":{"login":"nutank","id":7425622,"avatar_url":"https://avatars.githubusercontent.com/u/7425622?v=3","gravatar_id":"","url":"https://api.github.com/users/nutank","html_url":"https://github.com/nutank","followers_url":"https://api.github.com/users/nutank/followers","following_url":"https://api.github.com/users/nutank/following{/other_user}","gists_url":"https://api.github.com/users/nutank/gists{/gist_id}","starred_url":"https://api.github.com/users/nutank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutank/subscriptions","organizations_url":"https://api.github.com/users/nutank/orgs","repos_url":"https://api.github.com/users/nutank/repos","events_url":"https://api.github.com/users/nutank/events{/privacy}","received_events_url":"https://api.github.com/users/nutank/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T12:47:41Z","updated_at":"2015-05-18T12:47:41Z","body":"Hi, \r\nEven I can't get createProject working. Is there anything else that needs to be passed besides workspace,name and notes? \r\n\r\n```php\r\n        $project_data = array('workspace' => $workspace_id, 'name' => $project_name,'notes' =>'Project notes');\r\n\r\n        $created_project = $asana->createProject( $project_data );\r\n```\r\n\r\nI can create a task in the same workspace successfully but creation of project in the same workspace always returns 400 error. Are there any restrictions while creating project using API key?\r\n"}}