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

[BUG] Error uploading files: Error: GitHub API Error (403): You have exceeded a secondary rate limit. Please wait a few minutes before you try again. #18

Closed
4 tasks done
jacepetersen12 opened this issue Jan 17, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jacepetersen12
Copy link

jacepetersen12 commented Jan 17, 2025

πŸ› Bug Description

I'm hitting a rate limit as I'm trying to push my project to github.

πŸ“ Steps to Reproduce

On bolt.new with my project open
Hit the button
Shows that it is uploading
Never Finishes
My project unzipped is about 1.2mb

βœ… Expected Behavior

Self explanatory

❌ Actual Behavior

Throws an error. see the console logs below

πŸ“Έ Screenshots

πŸ” Environment Details

  • Chrome Version:
  • Extension Version:
  • Operating System:
  • Bolt.new Project Type:

πŸ’Ύ Additional Context

πŸ“Š Updating status: {status: 'uploading', progress: 53, message: 'Creating blob 164/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 53, message: 'Creating blob 165/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 53, message: 'Creating blob 166/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 53, message: 'Creating blob 167/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 53, message: 'Creating blob 168/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 54, message: 'Creating blob 169/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 54, message: 'Creating blob 170/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 54, message: 'Creating blob 171/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 54, message: 'Creating blob 172/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 54, message: 'Creating blob 173/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 54, message: 'Creating blob 174/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 54, message: 'Creating blob 175/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 55, message: 'Creating blob 176/211...'}
background.js:1 ❌ Error uploading files: Error: GitHub API Error (403): You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID BAA5:D67F4:5928D8:B16234:678ADF8C.
at m.request (chrome-extension://pikdepbilbnnpgdkdaaoeekgflljmame/assets/GitHubService-447d2b0f.js:1:1606)
at async chrome-extension://pikdepbilbnnpgdkdaaoeekgflljmame/background/background.js:2:1183
at async Promise.all (index 204)
at async At.uploadToGitHub (chrome-extension://pikdepbilbnnpgdkdaaoeekgflljmame/background/background.js:2:538)
at async At.processZipFile (chrome-extension://pikdepbilbnnpgdkdaaoeekgflljmame/background/background.js:1:12350)
at async It.handleZipData (chrome-extension://pikdepbilbnnpgdkdaaoeekgflljmame/background/background.js:2:5169)
at async It.handlePortMessage (chrome-extension://pikdepbilbnnpgdkdaaoeekgflljmame/background/background.js:2:3978)
at async chrome-extension://pikdepbilbnnpgdkdaaoeekgflljmame/background/background.js:2:3049
(anonymous) @ background.js:1
await in (anonymous) (async)
handleZipData @ background.js:2
await in handleZipData (async)
handlePortMessage @ background.js:2
(anonymous) @ background.js:2
background.js:1 πŸ“Š Updating status: {status: 'error', progress: 0, message: 'Failed to upload files: GitHub API Error (403): Yo…the request ID BAA5:D67F4:5928D8:B16234:678ADF8C.'}
background.js:2 Error processing ZIP: Error: GitHub Error: You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID BAA5:D67F4:5928D8:B16234:678ADF8C.
at It.handleZipData (background.js:2:5636)
at async It.handlePortMessage (background.js:2:3978)
at async background.js:2:3049
handleZipData @ background.js:2
await in handleZipData (async)
handlePortMessage @ background.js:2
(anonymous) @ background.js:2
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 55, message: 'Creating blob 177/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 55, message: 'Creating blob 178/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 55, message: 'Creating blob 179/211...'}
background.js:1 πŸ“Š Updating status: {status: 'uploading', progress: 55, message: 'Creating blob 180/211...'

βœ”οΈ Checklist

  • I am on bolt.new website when trying to use the extension
  • I have provided my GitHub token with correct permissions
  • I have the latest version of the extension installed
  • I have checked the extension popup for any error messages
@jacepetersen12 jacepetersen12 added the bug Something isn't working label Jan 17, 2025
@jacepetersen12
Copy link
Author

Love the extension btw. Thanks for all the work. I'd love for a workaround ASAP to get me back into my workflow!

@aidrivencoder
Copy link
Collaborator

@jacepetersen12 Looks like the build/dist folder is being included in the upload. Those are generated folders and can be safely excluded. Can you make sure that you have a .gitignore file that includes build, dist, node_modules, among other files/folder that should not be included in a repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants