Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error (ERR_NON_2XX_3XX_RESPONSE): Response code 429 (Too Many Requests) #3238

Open
parsam97 opened this issue Mar 11, 2025 · 2 comments
Open
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

@parsam97
Copy link

Summary

I recently ran into an issue with the Salesforce CLI when executing:

sf plugins discover

I received this error:

Error (ERR_NON_2XX_3XX_RESPONSE): Response code 429 (Too Many Requests)

I am not running any extra scripts or CI jobs. The command was run manually from my home network. I even downgraded to the earlier CLI version and tried disconnecting from my VPN, but the error persists.

Steps To Reproduce

  • run sf plugins discover

Expected result

get the available plugins

Actual result

Error (ERR_NON_2XX_3XX_RESPONSE): Response code 429 (Too Many Requests)

System Information

CLI:
@salesforce/cli/2.78.3 win32-x64 node-v22.13.1

Plugin Version:
@oclif/plugin-autocomplete 3.2.21 (core)
@oclif/plugin-commands 4.1.20 (core)
@oclif/plugin-help 6.2.25 (core)
@oclif/plugin-not-found 3.2.40 (core)
@oclif/plugin-plugins 5.4.32 (core)
@oclif/plugin-search 1.2.21 (core)
@oclif/plugin-update 4.6.31 (core)
@oclif/plugin-version 2.2.23 (core)
@oclif/plugin-warn-if-update-available 3.1.33 (core)
@oclif/plugin-which 3.2.29 (core)
@salesforce/cli 2.78.3 (core)
apex 3.6.8 (core)
api 1.3.3 (core)
auth 3.6.94 (core)
data 4.0.11 (core)
deploy-retrieve 3.20.0 (core)
functions 1.23.0 (user)
info 3.4.39 (core)
limits 3.3.46 (core)
marketplace 1.3.7 (core)
org 5.2.32 (core)
packaging 2.9.17 (core)
schema 3.3.50 (core)
settings 2.4.16 (core)
signups 2.6.18 (user)
sobject 1.4.50 (core)
telemetry 3.6.33 (core)
templates 56.3.38 (core)
trust 3.7.65 (core)
user 3.6.9 (core)
dependencies-cli 2.0.1 (user)
sfdmu 4.38.0 (user)
sfdx-git-delta 6.3.0 (user)
SF ENV. VARS.
SF_AUTOUPDATE_DISABLE,true
SF_BINPATH,C:\Users\parsa\AppData\Local\sf\client\bin\sf
SF_DISABLE_AUTOUPDATE,true
SF_UPDATE_INSTRUCTIONS,Use "npm update --global @salesforce/cli" to update npm-based installations.
Windows: true
Shell: powershell
Channel: stable

Diagnostics

✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
❌ warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
❌ fail - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - [@salesforce/plugin-auth] CLI using stable v1 crypto

@WillieRuemmele
Copy link
Member

I'm seeing the same thing

 ➜  sf plugins discover                            
Error (ERR_NON_2XX_3XX_RESPONSE): Response code 429 (Too Many Requests)

I think we're just sending too many requests for every plugin, will look into this

@WillieRuemmele WillieRuemmele added the bug Issue or pull request that identifies or fixes a bug label Mar 11, 2025
Copy link

git2gus bot commented Mar 11, 2025

This issue has been linked to a new work item: W-18012878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug
Projects
None yet
Development

No branches or pull requests

2 participants