Hi Dagfinn Nærheim,
It seems like running into an issue Azure web pub sub expects the Webhook-Allowed-Origin header in a specific Pascal Case format, but when you are using FAST API app in hosted on azure container App the header name will convert to lower case. this is because of pub sub service to reject the request with the error "AbuseProtectionResponseMissingAllowedOrigin."
To avoid this need to configure your FASTAPI applications or web server hosting it, need to ensure that the header is returned with the correct casing and also might need to modify the response header directly in your application code or by configuring the web server settings to preserve the case of the headers.
If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.
Let me know if you have any further Queries.