Microsoft Teams Bot Framework · error code

Teams error 503 Service Unavailable: 503 - service temporarily unavailable

RetryableHTTP 503Service errors

Last verified against Microsoft Learn - Status codes from bot conversational APIs

What Teams returns
Service is unavailable.

What error 503 Service Unavailable means

The service could not take your request right now. The Teams status table lists 503 with the description "Service is unavailable," retry Yes: "Retry with exponential backoff. If the issue persists, report the issue in developer community." The Connector API reference's own table matches: "The service is temporarily unavailable."

503 differs from 500 in intent - it is the platform saying later, not broken - and from 429 in cause: no header tells you how long, and your traffic volume is not necessarily the trigger. Sustained 503s across minutes usually align with a service incident visible in Microsoft 365 service health; isolated ones are routine and disappear inside a normal retry policy.

Treat the retry ceiling seriously: a queue that retries forever will replay stale notifications hours later when service resumes. Give each message a time-to-live appropriate to its content - a meeting reminder is worthless after the meeting - and drop or rewrite expired payloads at dequeue time.

What it looks like

HTTP/1.1 503 Service Unavailable
X-Correlating-OperationId: 7c02ab...

{
  "error": {
    "code": "ServiceUnavailable",
    "message": "Service is unavailable."
  }
}

Why it happens

  • Transient capacity or deployment churn inside the Bot Framework/Teams services.
  • A regional service incident (check Microsoft 365 service health / Azure status).
  • Rarely, an intermediary (proxy in your egress path) generating its own 503 - identifiable by a non-JSON body.

How to fix Teams error 503 Service Unavailable

  1. 1Retry with exponential backoff and jitter; cap attempts and park messages in a queue past the cap.
  2. 2Verify the body is a Bot Framework ErrorResponse to rule out your own egress proxy.
  3. 3During sustained failure, check service health dashboards before changing code.
  4. 4Report persistent, incident-free 503s through the developer community with X-Correlating-OperationId values.

How to stop it recurring

Assume 503 will happen and make it invisible: a durable outbound queue with retry means a five-minute platform wobble delays notifications instead of dropping them. Use the same central retry policy that handles 429 and 504, and alert on sustained failure rate, not single events.

Official reference: Microsoft Learn - Status codes from bot conversational APIs. See all Teams error codes or the Teams limits and quotas.

Related codes

Error 503 Service Unavailable - quick answers

What does Teams error 503 Service Unavailable mean?

The service could not take your request right now. The Teams status table lists 503 with the description "Service is unavailable," retry Yes : "Retry with exponential backoff.

How do I fix Teams error 503 Service Unavailable?

1. Retry with exponential backoff and jitter; cap attempts and park messages in a queue past the cap. 2. Verify the body is a Bot Framework ErrorResponse to rule out your own egress proxy. 3. During sustained failure, check service health dashboards before changing code. 4. Report persistent, incident-free 503s through the developer community with X-Correlating-OperationId values.

Can I retry after error 503 Service Unavailable?

Yes - this is a retryable condition. Back off (start around one second and double on each attempt, with jitter) and watch for a retry-after hint from the platform before resending.

Stop debugging Teams by hand

Connect the channel through Conferbot: tokens, webhooks and retries are handled, failures show as readable status.