{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/spring-data-cosmosdb/issues/193","repository_url":"https://api.github.com/repos/Microsoft/spring-data-cosmosdb","labels_url":"https://api.github.com/repos/Microsoft/spring-data-cosmosdb/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/spring-data-cosmosdb/issues/193/comments","events_url":"https://api.github.com/repos/Microsoft/spring-data-cosmosdb/issues/193/events","html_url":"https://github.com/Microsoft/spring-data-cosmosdb/issues/193","id":353606645,"node_id":"MDU6SXNzdWUzNTM2MDY2NDU=","number":193,"title":"Cant call self href directly for Entity","user":{"login":"emthomas","id":7446317,"node_id":"MDQ6VXNlcjc0NDYzMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/7446317?v=4","gravatar_id":"","url":"https://api.github.com/users/emthomas","html_url":"https://github.com/emthomas","followers_url":"https://api.github.com/users/emthomas/followers","following_url":"https://api.github.com/users/emthomas/following{/other_user}","gists_url":"https://api.github.com/users/emthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/emthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emthomas/subscriptions","organizations_url":"https://api.github.com/users/emthomas/orgs","repos_url":"https://api.github.com/users/emthomas/repos","events_url":"https://api.github.com/users/emthomas/events{/privacy}","received_events_url":"https://api.github.com/users/emthomas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-24T01:03:14Z","updated_at":"2018-09-03T03:35:38Z","closed_at":null,"author_association":"NONE","body":"I am using the following:\r\n\r\n      <parent>\r\n\t\t<groupId>org.springframework.boot</groupId>\r\n\t\t<artifactId>spring-boot-starter-parent</artifactId>\r\n\t\t<version>2.0.1.RELEASE</version>\r\n\t\t<relativePath/> <!-- lookup parent from repository -->\r\n\t</parent>\r\n\r\n        <dependency>\r\n\t\t\t<groupId>com.microsoft.azure</groupId>\r\n\t\t\t<artifactId>spring-data-cosmosdb</artifactId>\r\n\t\t\t<version>2.0.3</version>\r\n\t</dependency>\r\n\r\nhttp://localhost:8080/api/questionSimilarities/51847986\r\nWhen I try to use the href above for one of my entity I get the following error message: \r\n\r\n    {\"timestamp\":\"2018-08-24T00:57:35.070+0000\",\"status\":500,\"error\":\"Internal Server     Error\",\"message\":\"PartitionKey value must be supplied for this operation.\",\"path\":\"/api/questionSimilarities/51847986\"}\r\n\r\nThe message is pretty clear. and the question is how do I pass this? I know I can re-implement to get what I need, but that doesn't sound right to me.\r\n\r\nBelow you can see my Entity is present.\r\n![image](https://user-images.githubusercontent.com/7446317/44559381-877fbe00-a6fe-11e8-9df7-cbb64e7c6f29.png)\r\n\r\nModel code:\r\n![image](https://user-images.githubusercontent.com/7446317/44559406-bdbd3d80-a6fe-11e8-8453-93b177eca06b.png)\r\n\r\n\r\nAny help would be appreciated.\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/spring-data-cosmosdb/issues/comments/417991805","html_url":"https://github.com/Microsoft/spring-data-cosmosdb/issues/193#issuecomment-417991805","issue_url":"https://api.github.com/repos/Microsoft/spring-data-cosmosdb/issues/193","id":417991805,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzk5MTgwNQ==","user":{"login":"Incarnation-p-lee","id":6782002,"node_id":"MDQ6VXNlcjY3ODIwMDI=","avatar_url":"https://avatars0.githubusercontent.com/u/6782002?v=4","gravatar_id":"","url":"https://api.github.com/users/Incarnation-p-lee","html_url":"https://github.com/Incarnation-p-lee","followers_url":"https://api.github.com/users/Incarnation-p-lee/followers","following_url":"https://api.github.com/users/Incarnation-p-lee/following{/other_user}","gists_url":"https://api.github.com/users/Incarnation-p-lee/gists{/gist_id}","starred_url":"https://api.github.com/users/Incarnation-p-lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Incarnation-p-lee/subscriptions","organizations_url":"https://api.github.com/users/Incarnation-p-lee/orgs","repos_url":"https://api.github.com/users/Incarnation-p-lee/repos","events_url":"https://api.github.com/users/Incarnation-p-lee/events{/privacy}","received_events_url":"https://api.github.com/users/Incarnation-p-lee/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T03:35:38Z","updated_at":"2018-09-03T03:35:38Z","author_association":"CONTRIBUTOR","body":"@emthomas \r\nThere seems one way to fix this from the server-sdk, I will try it if works well. But you'd better not apply both Annotation in one field."}}
{"actor":{"display_login":"Incarnation-p-lee"}}