[Digital Twins] Error when paging relationships records #11555
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Digital Twins
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Describe the bug
When a twin has more relationships than can be returned in one page, the SDK automatically fetches the next page using the continuation token. However, from what I can see, the token is passed in the wrong place to the underlying REST SDK which results in an invalid URL being formed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All relationships should be returned.
Screenshots
N/A
Additional context
See this line. The underlying REST client expects the continuation token as the second parameter but it's passed as the first one. This issue also applies to incoming relationships.
The text was updated successfully, but these errors were encountered: