Skip to content

Microsoft.Graph.Models.ODataErrors.ODataError : 'The request URI is not valid. The segment 'oneDrive.delta' must be the last segment in the URI because it is one of the following.... #2814

@Walidwbh

Description

@Walidwbh

Describe the bug

When making a request to the Microsoft Graph API using the sites/delta the request fails with the following error:
Microsoft.Graph.Models.ODataErrors.ODataError : 'The request URI is not valid. The segment 'oneDrive.delta' must be the last segment in the URI because it is one of the following: $ref, $batch, $count, $value, $metadata, a named media resource, an action, a noncomposable function, an action import, a noncomposable function import, an operation with void return type, or an operation import with void return type.'

Expected behavior

Get newly created, updated, or deleted [sites] without having to perform a full read of the entire sites collection.

How to reproduce

Make a request to Microsoft Graph API using sites/delta.
Observe the request failing with the mentioned error.

SDK Version

5.69.0

Latest version known to work for scenario above?

5.62.0

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions