Title: GraphResponseHeaders do not exist on type error · Issue #39 · microsoftgraph/msgraph-sdk-java · GitHub
Open Graph Title: GraphResponseHeaders do not exist on type error · Issue #39 · microsoftgraph/msgraph-sdk-java
X Title: GraphResponseHeaders do not exist on type error · Issue #39 · microsoftgraph/msgraph-sdk-java
Description: Presumably related to #15, when I call: IBaseMessageRequest request = client // .users(mailbox) // .messages(m.id) // .buildRequest() // .select("IsRead"); Message m2 = request.getMessage(); m2.isRead = true; request.patch(m2); I get an ...
Open Graph Description: Presumably related to #15, when I call: IBaseMessageRequest request = client // .users(mailbox) // .messages(m.id) // .buildRequest() // .select("IsRead"); Message m2 = request.getMessage(); m2.isR...
X Description: Presumably related to #15, when I call: IBaseMessageRequest request = client // .users(mailbox) // .messages(m.id) // .buildRequest() // .select("IsRead"); Message m2 = request.getMessage...
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/39
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"GraphResponseHeaders do not exist on type error","articleBody":"Presumably related to #15, when I call:\r\n\r\n```java\r\nIBaseMessageRequest request = client //\r\n .users(mailbox) //\r\n .messages(m.id) //\r\n .buildRequest() //\r\n .select(\"IsRead\");\r\nMessage m2 = request.getMessage();\r\nm2.isRead = true;\r\nrequest.patch(m2);\r\n```\r\n\r\nI get an error from the api:\r\n\r\n```\r\nException in thread \"main\" com.microsoft.graph.http.GraphServiceException: POST https://graph.microsoft.com/v1.0/users/email@me.com/messages/AAMkADQ3YjdiNWUxLTBmYWQtNDMwYy04Yzc0LTI0MDdmOWQ4NDFjNgBGAAAAAADhHB7R7pc4ToKTjXYdRRRPBwBRvkjTP0udTLdykWPSb0xSAAAAAAEMAADc0RUkpd9gS4SNgTuazIdfAADO-pnhAAA=?$select=IsRead\r\nSdkVersion : graph-java-v1.0.0\r\nAuthorization : Bearer \u003cAUTHORIZATION>\r\n{\"isRead\":true,\"id\":\"AAMkADQ3YjdiNWUxLTBmYWQtNDMwYy04Yzc0LTI0MDdmOWQ4NDFjNgBGAAAAAADhHB7R7pc4ToKTjXYdRRRPBwBRvkjTP0udTLdykWPSb0xSAAAAAAEMAADc0RUkpd9gS4SNgTuazIdfAADO-pnhAAA=\",\"graphResponseHeaders\":{\"Transfer-Encoding\":[\"chunked\"],\"null\":[\"HTTP/1.1 200 OK\"],\"x-ms-ags-diagnostic\":[\"{\\\"ServerInfo\\\":{\\\"DataCenter\\\":\\\"Australia SouthEast\\\",\\\"Slice\\\":\\\"SliceA\\\",\\\"Ring\\\":\\\"2\\\",\\\"ScaleUnit\\\":\\\"000\\\",\\\"Host\\\":\\\"AGSFE_IN_3\\\",\\\"ADSiteName\\\":\\\"MEL\\\"}}\"],\"Cache-Control\":[\"private\"],\"client-request-id\":[\"1b30c3a5-923e-40ae-84e6-ae98757f8963\"],\"ETag\":[\"W/\\\"CQAAABYAAADc0RUkpd9gS4SNgTuazIdfAADPGIrG\\\"\"],\"Duration\":[\"38.2134\"],\"OData-Version\":[\"4.0\"],\"request-id\":[\"1b30c3a5-923e-40ae-84e6-ae98757f8963\"],\"Date\":[\"Tue, 30 Jan 2018 22:09:26 GMT\"],\"Content-Type\":[\"application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\"],\"responseCode\":[\"200\"]}}\r\n\r\n400 : Bad Request\r\nHTTP/1.1 400 Bad Request\r\nTransfer-Encoding : chunked\r\nCache-Control : private\r\nx-ms-ags-diagnostic : {\"ServerInfo\":{\"DataCenter\":\"Australia SouthEast\",\"Slice\":\"SliceA\",\"Ring\":\"2\",\"ScaleUnit\":\"000\",\"Host\":\"AGSFE_IN_3\",\"ADSiteName\":\"MEL\"}}\r\nclient-request-id : 7d4dc465-0479-4c09-94d7-124d4afa37a6\r\nDuration : 63.6952\r\nrequest-id : 7d4dc465-0479-4c09-94d7-124d4afa37a6\r\nDate : Tue, 30 Jan 2018 22:09:26 GMT\r\nContent-Type : application/json\r\n{\r\n \"error\": {\r\n \"code\": \"RequestBodyRead\",\r\n \"message\": \"The property \\u0027graphResponseHeaders\\u0027 does not exist on type \\u0027Microsoft.OutlookServices.Message\\u0027. Make sure to only use property names that are defined by the type or mark the type as open type.\",\r\n \"innerError\": {\r\n \"request-id\": \"7d4dc465-0479-4c09-94d7-124d4afa37a6\",\r\n \"date\": \"2018-01-30T22:09:27\"\r\n }\r\n }\r\n}\r\n```\r\n","author":{"url":"https://github.com/davidmoten","@type":"Person","name":"davidmoten"},"datePublished":"2018-01-30T22:35:00Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java/issues/39"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5397868b-d327-65c3-5546-35d628ec4b8f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A112:39AB0:1A5710:24704B:6B057206 |
| html-safe-nonce | fe5294a3381ea9c0915669f14b0ccc6351fdb0c0bcd554d1227a64164a29d081 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTEyOjM5QUIwOjFBNTcxMDoyNDcwNEI6NkIwNTcyMDYiLCJ2aXNpdG9yX2lkIjoiODQ1NDA4NDA5Njk4NTk1OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 102086cca7f8d20323441547f15227faaf51e317b3be9878a300bed239f142d6 |
| hovercard-subject-tag | issue:292963411 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoftgraph/msgraph-sdk-java/39/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b53a41e69db9cbbf19b598f10073f79c31fa48c6125fec5c44fd163dcbdc839b/microsoftgraph/msgraph-sdk-java/issues/39 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b53a41e69db9cbbf19b598f10073f79c31fa48c6125fec5c44fd163dcbdc839b/microsoftgraph/msgraph-sdk-java/issues/39 |
| og:image:alt | Presumably related to #15, when I call: IBaseMessageRequest request = client // .users(mailbox) // .messages(m.id) // .buildRequest() // .select("IsRead"); Message m2 = request.getMessage(); m2.isR... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidmoten |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git |
| octolytics-dimension-user_id | 17304259 |
| octolytics-dimension-user_login | microsoftgraph |
| octolytics-dimension-repository_id | 103300409 |
| octolytics-dimension-repository_nwo | microsoftgraph/msgraph-sdk-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 103300409 |
| octolytics-dimension-repository_network_root_nwo | microsoftgraph/msgraph-sdk-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f089e689ad324655ac44bf6cdbc04d976105b374 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width