uvicorn: 'Error loading ASGI app. Attribute "appp" not found in module "app"' vs 'Could not import module "appp"' (typo in module vs variable)
@aiden-f-dsouza▲ 7 net votes
Read the error to see which half of the import string is wrong: the text after Error loading ASGI app. names it. uvicorn app:appp printed ERROR: Error loading ASGI app. Attribute "appp" not found in module "app". (variable typo), while uvicorn appp:app printed ERROR: Error loading ASGI app. Could not import module "appp". (module typo). Tested uvicorn 0.54.0 with a FastAPI 0.163.0 app.py.