I have created the following flow. Does anybody know why I get this "Bad Gateway 502" error? I have tried to remove the Sharepoint connection for the flow and log back in, but I still get the same error.

Raw output:
{
"statusCode": 502,
"headers": {
"Pragma": "no-cache",
"x-ms-request-id": "9e21f69f-604e-c000-762a-a2cebe7d5da2",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Cache-Control": "no-store, no-cache",
"Set-Cookie": "ARRAffinity=7fec6b3d494d502cd339a098a470860ddaf458b68c32b8ce8e190c362de93b94;Path=/;HttpOnly;Secure;Domain=sharepointonline-ne.azconn-ne.p.azurewebsites.net,ARRAffinitySameSite=7fec6b3d494d502cd339a098a470860ddaf458b68c32b8ce8e190c362de93b94;Path=/;HttpOnly;SameSite=None;Secure;Domain=sharepointonline-ne.azconn-ne.p.azurewebsites.net",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"Date": "Tue, 05 Oct 2021 10:08:27 GMT",
"Content-Length": "591",
"Content-Type": "application/json",
"Expires": "-1"
},
"body": {
"error": {
"code": 502,
"source": "flow-apim-europe-001-westeurope-01.azure-apim.net",
"clientRequestId": "252902f8-e6b9-464f-a6f5-de0020b42229",
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "Hub site not found\r\nclientRequestId: 252902f8-e6b9-464f-a6f5-de0020b42229\r\nserviceRequestId: 9e21f69f-604e-c000-762a-a2cebe7d5da2",
"errors": [
"-2147213254",
"Microsoft.SharePoint.SPException"
]
}
}
}
}