when i import a query from an api endpoint, it throws an error which seems unrelated - Wasp