PermissionDeniedError when running print_llm_response and get_llm_response

Hi, I get a PermissionDeniedError when running either the print_ or get_llm_response functions. It originally occurred while running a for-loop containing one of the llm_response functions. This happened last week. How can I fix this? Thanks.

Hi,

Could you please try opening the lab again today and see if the issue still persists?

If you continue to encounter the error, try restarting the lab environment, signing out, and then signing back in. In many cases, this resolves temporary permission-related issues.

If the problem still remains after these steps, please let us know so we can investigate further.

Thanks!

Hi, I’ve tried restarting the lab environment, signing out and then signing back in again. I still getting the PermissionDeniedError when running the llm_repsonse functions.

Thanks for your help

Hi @Jason_Popoloski,

Could you be more specific where this is occurring? Please share the name of the lesson and screenshot of the error.

Thanks,
Mubsi

Hi Mubsi, the error occurs in all lessons where I try to execute the llm_response functions. This screenshot is from Module 2 Lesson 1 (Completing a task list with AI), 3rd cell. Thank-you for your help. Jason

Hi Mubsi, I just enrolled in the course “Generative AI for Everyone” to check if the llm_repsonse function works there. It does. This screenshot below is from the week 2 lab called “Trying generative AI code yourself”. I hope this help. Regards, Jason.

Hi @Jason_Popoloski,

I need to see the very bottom of this error message. Could you share that? Thanks.

Thanks for sharing this, Jason. But Generative AI for Everyone is a different course, not tied to AI Python for Beginners in any way.

Hi Mubsi, here is a screen shot of the very bottom.

@Jason_Popoloski, I’m going to start a DM with you regarding this.