I have developed a script in python using incoming webhooks that sends messages to Teams. I cannot control messages to teams as it depends on how many alerts our hosts are generating at one go. Recently, I have observed that my python script displays http response as 200 but there is no messages in my channel. After further investigation, I found that there is an http error 429 when sending messages via curl.
Curl Output: "Webhook message delivery failed with error: Microsoft Teams endpoint returned HTTP error 429"
Is there a way to change the limit on teams? Becuase as said, I cannot control the incoming messsages as they are very important alerts. Also, why does python return 200 as http status where as curl is returning different error code?