Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Thank you for reaching out to Microsoft Q&A forum
Based on your description, I understand that you are intermittently receiving HTTP 403 errors when posting to a Microsoft Teams channel using an Incoming Webhook, even though the webhook URL is valid and the MessageCard payload and headers have not changed.
As far as I know, the intermittent 403 responses from Microsoft Teams Incoming Webhooks commonly occur due to backend behaviors in the Teams connector service, where certain tenants or channels temporarily reject webhook submissions despite valid request formatting. This can also happen when webhook requests exceed hidden rate limits (more than four requests per second) or when message size approaches the 28 KB limit.
In this context, based on my knowledge, you can try the below approaches:
Validate basic limits and stabilize request patterns
- Ensure payload size stays under the 28 KB
MessageCardlimit. - Keep requests below 4 per second for each webhook.
- Implement retry logic with exponential backoff
Verify webhook configuration and permissions
Confirm that the Incoming Webhook connector is still active on the channel and that no tenant policies have disabled or restricted its use. If needed, generate a new webhook URL and test the same payload to rule out a corrupted or invalidated endpoint.
Link references:
https://learn.microsoft.com/en-us/microsoftteams/limits-specifications-teams#teams-and-channels
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/rate-limit
Hope my answer will help you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.