Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

X-Ray BatchGetTraces does not support NextToken #642

Closed
tim-finnigan opened this issue Nov 14, 2023 · 2 comments
Closed

X-Ray BatchGetTraces does not support NextToken #642

tim-finnigan opened this issue Nov 14, 2023 · 2 comments
Assignees
Labels
bug Something isn't working service-api This issue pertains to the AWS API xray

Comments

@tim-finnigan
Copy link
Contributor

tim-finnigan commented Nov 14, 2023

Original issue: boto/boto3#3924

To reproduce:

import boto3

client = boto3.client('xray')

response = client.batch_get_traces(
    TraceIds=[
        '1-5759e988-bd862e3fe1be46a994272793',
    ],
    NextToken='string'
)

Results in:

botocore.errorfactory.InvalidRequestException: An error occurred (InvalidRequestException) when calling the BatchGetTraces operation: NextToken is currently not supported

Ref: P126466252

@tim-finnigan tim-finnigan added bug Something isn't working service-api This issue pertains to the AWS API xray labels Nov 14, 2023
@tim-finnigan tim-finnigan self-assigned this Nov 14, 2023
@tim-finnigan
Copy link
Contributor Author

Closing as the X-Ray team has updated the documentation for NextToken:

This pagination token is currently not implemented for BatchGetTraces.

Copy link

This issue is now closed.

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working service-api This issue pertains to the AWS API xray
Projects
None yet
Development

No branches or pull requests

1 participant