rainbow-me / rainbowkit

The best way to connect a wallet 🌈 🧰
https://rainbowkit.com
MIT License
2.45k stars 665 forks source link

[bug] 400 Error: projectId not passed to WalletConnect Explorer API after recent wagmi upgrade #2209

Open nakedfool opened 1 month ago

nakedfool commented 1 month ago

Is there an existing issue for this?

RainbowKit Version

2.1.7

wagmi Version

2.12.17

Current Behavior

After upgrading to the latest version of wagmi, we're encountering a 400 bad request error when the WalletConnect Explorer API is called. The issue appears to be that the projectId is not being passed in the request URL, even though it's specified in the codebase.

Expected Behavior

A GET request is made to the WalletConnect Explorer API with success ( 200 code )

Steps To Reproduce

  1. Upgrade to the latest version of wagmi
  2. Implement RainbowKit with a valid projectId
  3. Observe network requests when interacting with wallet connect API.

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

haylorjulian commented 1 month ago

Also having a similar issue - although returning a 401 image image