Error calling CognitoIdentityProviderClient methods: "Failed to fetch"
- Dominant language
- Rust
- Stars
- 8.8k
- Forks
- 393
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 45
Description
When sending commands through the `CognitoIdentityProviderClient` we're getting a `Failed to fetch` error. In our case it was with `ListUserPoolsCommand`, but it seems to happen with more of them.
This was found in a **Lambda** function that was running fine on **LLRT 0.8.1** and started failing when upgrading to **LLRT 0.9.0**, so this looks like a regression. There's a script attached to reproduce the bug.
Tell me if you need anything else :)
---
SDK Version: `@aws-sdk/client-cognito-identity-provider ^3.799.0`
LLRT Version: `0.9.0`
[bug-repro.zip](https://github.com/user-attachments/files/32014482/bug-repro.zip)
Contributor guide
Research direction
Start with the attached bug-repro.zip and its CognitoIdentityProviderClient invocation, focusing on ListUserPoolsCommand. Compare the behavior on LLRT 0.9.0 with 0.8.1 using the stated AWS SDK version. Done means the reproduction no longer returns "Failed to fetch" on the affected Cognito methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100