Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get Messages ItemAttachment content using java SDK 6.16 #2169

Open
raghucha opened this issue Sep 26, 2024 · 0 comments
Open

Unable to get Messages ItemAttachment content using java SDK 6.16 #2169

raghucha opened this issue Sep 26, 2024 · 0 comments
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience

Comments

@raghucha
Copy link

Describe the bug

current as describe in documentation to get Item attachment content we can follow this instruction
Items Mime

i have attempted to get the content using

 graphServiceClient.users().byUserId(mailboxAddress).messages()
                .byMessageId(parentMessageId).attachments().byAttachmentId(attachmentId).content().get()

however there is no such method to get the content , we have content Builder available on the Message . Could you suggest a way of how to implement this using JAVA SDK 6.16.0 latest version

Expected behavior

I expect this functionality to be available or any alternate way to do it

How to reproduce

try compiling this code

 graphServiceClient.users().byUserId(mailboxAddress).messages()
                .byMessageId(parentMessageId).attachments().byAttachmentId(attachmentId).content().get()

SDK Version

6.16.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
@raghucha raghucha added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

1 participant