microsoftgraph / microsoftgraph/msgraph-sdk-python

Error: The 'filter' query option must be provided.

Open
#1,070 1 comment 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:waiting-for-triage type:bug
Dominant language
Python
Stars
630
Forks
96
Avg merge
15h 20m
Merged PRs (30d)
3

Description

Describe the bug

This is a dupe of https://github.com/microsoftgraph/msgraph-sdk-python/issues/365 which was closed, seemingly without any explanation.

I'm following the example from the docs here and it gives the following error:

The 'filter' query option must be provided.

Several users have pointed it out (ref), could someone please respond?

Expected behavior

List of drive items should be returned.

How to reproduce

From the docs:
https://github.com/microsoftgraph/msgraph-sdk-python/blob/main/docs/drives_samples.md#3-list-all-the-items-in-a-drive-get-drivesiditems

SDK Version

No response

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_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the example in docs/drives_samples.md under “List all the items in a drive,” then reproduce the request and inspect the resulting error. Compare the documented request with the SDK and Graph API behavior; done means the example either works as documented or clearly identifies the required documentation or SDK change.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.