Sometimes a query failed and somehow an empty json profile got generated. As a result, the Profile UI tab fails to load with the following error:
HTTP ERROR 500
Problem accessing /profiles. Reason:
The UI should be able to handle this condition either ignoring the file or display the profile with some text that the profile is empty.