Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

graphServiceClient.users(userId).photo().getContent().buildRequest().put(imageBytes) throws java.lang.ClassCastException #176

Copy link
Copy link
@Krisoblucki-okta

Description

@Krisoblucki-okta
Issue body actions

Expected behavior

graphServiceClient.users(userId).photo().getContent().buildRequest().put(imageBytes) should not throw an invalid cast exception from BufferedInputStream to ProfilePhoto

Actual behavior

java.lang.ClassCastException: java.io.BufferedInputStream cannot be cast to com.microsoft.graph.models.extensions.ProfilePhoto

Steps to reproduce the behavior

graphServiceClient.users(userId).photo().getContent().buildRequest().put(imageBytes)

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.