awslabs / awslabs/llrt

Error calling CognitoIdentityProviderClient methods: "Failed to fetch"

Open
#1,769 1 comment 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.