Can observe Loki logs but can't query them when creating alert

Created a Loki datasource and it connects and I can see the data without any issue.

For some reason, when creating an alert I can select the labels but no data is coming back and it is throwing the following error:

lvl=eror msg="Failed to evaluate queries and expressions: failed to execute conditions: failed to execute query A: 404 page not found