Skip to content

Profile Photo content exception #119

@daveadkins-stefanini

Description

@daveadkins-stefanini

Receiving the following exception when attempting to retrieve the profile photo using the content query builder:

File "...\Python\Python311\Lib\site-packages\kiota_abstractions\serialization\parse_node_factory_registry.py", line 50, in get_root_parse_node
raise Exception(
Exception: Content type image/jpeg does not have a factory registered to be parsed

from:
pic = await (client.users_by_id(id).photo.content.get())

as was mentioned in issue#92 using the $value as an optional query parameter is not an option.

Are there any workarounds?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions