When trying to load the L5 notebook, I get an error that says there’s in issue with the Sandbox environment. Tried refreshing, logging in and out, etc, but no luck.
As a workaround, I backed up to L4 (notebook loaded fine), opened JupyterHub and navigated to the L5 folder to run the notebook. But when running the first cell, I get the following error
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 16
14 agentAliasId = os.environ['BEDROCK_AGENT_ALIAS_ID']
15 region_name = 'us-west-2'
---> 16 knowledgeBaseId = os.environ['KNOWLEDGEBASEID']
File <frozen os>:679, in __getitem__(self, key)
KeyError: 'KNOWLEDGEBASEID'
I ran os.environ
in its own cell, but do not see any KNOWLEDGEBASE related key.
Thanks!
hi @sanjayr1
can you share screenshot of this mentioned error 
Regards
DP
Just try clearing cache and browsing history. Log out and relogin, and check if the issue still persist.
No luck, same issue occurs. This is also only for Reading the FAQ Manual lesson, the other lessons work without issue. Same for different short courses.
Try a different browsers or try in incognito once
Same issue happened even on a different browser and in incognito Mode.
@lesly.zerna
can you please look into this issue.
Regards
DP
1 Like
Hi! thank you for reporting!
I’ve tested myself and currently all notebooks are working (testing in a Macbook, in South America)
However, I’ve seen when starting loading the first lab, that message about “warning: error loading…”
And already reported to our engineering team 
Hi, I got the same error related to retrieving the knowledge base id. Logs below
KeyError Traceback (most recent call last)
Cell In[1], line 16
14 agentAliasId = os.environ[‘BEDROCK_AGENT_ALIAS_ID’]
15 region_name = ‘us-west-2’
—> 16 knowledgeBaseId = os.environ[‘KNOWLEDGEBASEID’]
File :679, in getitem(self, key)
KeyError: ‘KNOWLEDGEBASEID’
Can you suggest what should the value be set so I can proceed pls?
1 Like