Error while running python run.py

Traceback (most recent call last):
File “run.py”, line 13, in
app.config[‘MFLIX_DB_URI’] = config[‘PROD’][‘MFLIX_DB_URI’]
File “C:\Users\XXXXXX\AppData\Local\Continuum\anaconda3\lib\configparser.py”, 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

[PROD]
SECRET_KEY = SECRET_KEY_PROD
MFLIX_DB_URI = mongodb+srv://m220_std:XXXXX@mflix-tn2ak.mongodb.net/xxx

[TEST]
SECRET_KEY = super_secret_testing_key
MFLIX_DB_URI = mongodb+srv://m220_std:XXXXX@mflix-tn2ak.mongodb.net/xxx