vim-gpt-commit icon indicating copy to clipboard operation
vim-gpt-commit copied to clipboard

Error HTTP Error 429: Too Many Requests

Open eduardoarandah opened this issue 2 years ago • 0 comments

Got this error: urllib.error.HTTPError: HTTP Error 429: Too Many Requests

Idk if there's something else I can provide to debug

Traceback (most recent call last):
  File "/Users/lalo/.local/share/nvim/lazy/vim-gpt-commit/bin/gptcommit.py", line 441, in <module>
    main()
  File "/Users/lalo/.local/share/nvim/lazy/vim-gpt-commit/bin/gptcommit.py", line 387, in main
    obj = chatgpt_request(msgs, OPTIONS['key'], opts)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/lalo/.local/share/nvim/lazy/vim-gpt-commit/bin/gptcommit.py", line 38, in chatgpt_request
    response = opener.open(req, timeout = timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 525, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 634, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 563, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 429: Too Many Requests

eduardoarandah avatar Feb 17 '24 00:02 eduardoarandah