Check async await I had a similar error. IDE highlighted the syntax with a warning "await is not needed", but this is not always the case