<@ULVA73B9P>, we have an issue where tasks in one ...
# ask-marvin
n
@Marvin, we have an issue where tasks in one particular flow run are all failing with this error
TypeError: HTTPStatusError.__init__() missing 2 required keyword-only arguments: 'request' and 'response'
. What's weird is that subsequent runs have all passed, do you know what might be going on there?
m
The search for issues related to the
HTTPStatusError.__init__() missing 'request' and 'response'
error did not return any directly relevant issues specific to this error in the Prefect GitHub repository. However, from the information available in the issue that was found, which relates to an error in the Prefect server when creating worker pools from the UI, it seems there could be an underlying issue with HTTP requests, possibly due to security settings or SSL verification. Though the issue found does not directly address the
HTTPStatusError.__init__()
error, it is worth noting that issues with HTTP requests could manifest in various errors, including the one you are experiencing. Given that subsequent runs have passed, it could suggest a transient issue with the server or an external service your tasks were trying to reach at the time, such as a temporary network problem, service downtime, or SSL certificate verification issues. If your Prefect tasks involve external HTTP requests, checking the stability and availability of those services at the time of the failed flow run might give some insights. Without more specific information or a reproducible pattern, it's difficult to determine the exact cause of the error you encountered. If the problem persists or recurs, you may want to consider opening an issue in the Prefect GitHub repository with detailed information about your flow, task configuration, and the environment in which the error occurred.