{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/cloud_controller_ng/issues/661","repository_url":"https://api.github.com/repos/cloudfoundry/cloud_controller_ng","labels_url":"https://api.github.com/repos/cloudfoundry/cloud_controller_ng/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/cloud_controller_ng/issues/661/comments","events_url":"https://api.github.com/repos/cloudfoundry/cloud_controller_ng/issues/661/events","html_url":"https://github.com/cloudfoundry/cloud_controller_ng/issues/661","id":170579046,"number":661,"title":"unhelpful error message binding app/instance in different spaces","user":{"login":"erjoalgo","id":5349288,"avatar_url":"https://avatars.githubusercontent.com/u/5349288?v=3","gravatar_id":"","url":"https://api.github.com/users/erjoalgo","html_url":"https://github.com/erjoalgo","followers_url":"https://api.github.com/users/erjoalgo/followers","following_url":"https://api.github.com/users/erjoalgo/following{/other_user}","gists_url":"https://api.github.com/users/erjoalgo/gists{/gist_id}","starred_url":"https://api.github.com/users/erjoalgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjoalgo/subscriptions","organizations_url":"https://api.github.com/users/erjoalgo/orgs","repos_url":"https://api.github.com/users/erjoalgo/repos","events_url":"https://api.github.com/users/erjoalgo/events{/privacy}","received_events_url":"https://api.github.com/users/erjoalgo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cloudfoundry/cloud_controller_ng/labels/unscheduled","name":"unscheduled","color":"D9D9D9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-11T06:35:16Z","updated_at":"2016-10-20T21:22:28Z","closed_at":"2016-10-20T21:22:28Z","body":"\r\n\r\n## Issue\r\n\r\nPOST-ing a service binding between an app and service instance in different spaces fails with:\r\n\r\n`{u'code': 10001, u'error_code': u'UnknownError', u'description': u'An unknown error occurred.'}`\r\n\r\n \r\n## Steps to Reproduce\r\n\r\n```\r\ncf curl /v2/service_bindings\\\r\n            -X POST\\\r\n            -d '{\"service_instance_guid\" : \"guid-in-space-a\"',\\\r\n                        \"app_guid\" : \"guid-in-space-b}'\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/cloud_controller_ng/issues/comments/255232167","html_url":"https://github.com/cloudfoundry/cloud_controller_ng/issues/661#issuecomment-255232167","issue_url":"https://api.github.com/repos/cloudfoundry/cloud_controller_ng/issues/661","id":255232167,"user":{"login":"aashah","id":1176726,"avatar_url":"https://avatars.githubusercontent.com/u/1176726?v=3","gravatar_id":"","url":"https://api.github.com/users/aashah","html_url":"https://github.com/aashah","followers_url":"https://api.github.com/users/aashah/followers","following_url":"https://api.github.com/users/aashah/following{/other_user}","gists_url":"https://api.github.com/users/aashah/gists{/gist_id}","starred_url":"https://api.github.com/users/aashah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aashah/subscriptions","organizations_url":"https://api.github.com/users/aashah/orgs","repos_url":"https://api.github.com/users/aashah/repos","events_url":"https://api.github.com/users/aashah/events{/privacy}","received_events_url":"https://api.github.com/users/aashah/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T21:22:28Z","updated_at":"2016-10-20T21:22:28Z","body":"Hey @erjoalgo,\r\n\r\nThis looks to have been resolved after this story: https://www.pivotaltracker.com/story/show/101942182\r\n\r\nWhen we submitted a similar curl, the response now looks like the following:\r\n\r\n```\r\n{\r\n   \"code\": 90003,\r\n   \"description\": \"The app space binding to service is taken: service_instance_guid app_guid\",\r\n   \"error_code\": \"CF-ServiceBindingAppServiceTaken\"\r\n}\r\n```\r\n\r\nWe are going to close this issue. Thanks for bringing this up!\r\nCAPI Community Pair - @aashah @rizwanreza "}}
{"actor":{"display_login":"aashah"}}