Permission Denied Error with==>print_llm_response()

  1. when i use this code it can’t run and give me

Permission Denied Error

code==>print_llm_response()

       get_llm_response

Hi Talat_Mohamed,

Are you referring to the assignment or to one of the videos with code example? If the latter, could you indicate for which video with code example you get this Permission Denied Error?

in module 2,Lesson 2 - Repeating tasks with for loops

when i want to use==>print_llm_response or get_llm_response

he give me permission denied error

i think there is a proplem in API key

Hi Talat_Mohamed,

I cannot reproduce the error you get in the course jupyter notebook.

Could it be that you are running the notebook locally? In that case, you need to provide your own API key either in a .env file in your working directory or directly in helperfunctions.py.

he give me this error

Permission error: your request was blocked (403).
Check your API key, account permissions/billing, and platform/network restrictions.

Hmm, if you are not running the notebook locally this is strange. Let me forward this to the team: @Community-Team. Hopefully someone can resolve this for you.

Hi @Talat_Mohamed,

It looks like you are auditing the course and are not a Pro user, which is why the limited API credits you had have been finished.