## Description <!-- Describe your issue --> Example here: https://github.com/elimu-ai/ml-event-simulator/actions/runs/11235196166/job/31232630791 If the REST API returns an error response, the workflow job should also fail. ## Why? <!-- Explain _why_ this issue is needed --> If the workflow fails whenever there is a problem with the REST API, we will get notified about errors more quickly.