Error while running python

Traceback (most recent call last):
File “”, line 13, in
app.config[‘MFLIX_DB_URI’] = config[‘PROD’][‘MFLIX_DB_URI’]
File “C:\Users\XXXXXX\AppData\Local\Continuum\anaconda3\lib\”, line 958, in getitem
raise KeyError(key)
KeyError: ‘PROD’

Can you share your .ini file?

Ticket: Connection

Rename this file to .ini after filling in your MFLIX_DB_URI and your SECRET_KEY

Do not surround the URI with quotes

MFLIX_DB_URI = mongodb+srv://

SECRET_KEY = super_secret_testing_key
MFLIX_DB_URI = mongodb+srv://