Hi, I’m doing “Building RAG Agents with LLMs” course, and when trying to run notebook I keep getting HTTPError: 402 Client Error: Payment Required for url.
I even tried using solution that is provided, but error still persists:
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
Cell In[6], line 50
47 response = requests.post(invoke_url, headers=headers, json=payload, stream=True)
49 ## If your response is an error message, this will raise an exception in Python
---> 50 response.raise_for_status()
52 ## If the post request is honored, you should be able to iterate over
53 for line in response.iter_lines():
File /usr/local/lib/python3.11/site-packages/requests/models.py:1021, in Response.raise_for_status(self)
1016 http_error_msg = (
1017 f"{self.status_code} Server Error: {reason} for url: {self.url}"
1018 )
1020 if http_error_msg:
-> 1021 raise HTTPError(http_error_msg, response=self)
HTTPError: 402 Client Error: Payment Required for url: https://api.nvcf.nvidia.com/v2/nvcf/pexec/functions/e0bb7fb9-5333-4a27-8534-c6288f921d3f
