---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/22222#article
headline: "22222: Emergency Status cannot be updated"
url: https://www.twilio.com/docs/api/errors/22222
inLanguage: en
dateModified: 2026-06-09T11:00:42.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 22222: Emergency Status cannot be updated

Log Type: APPLICATION

Log Level: WARNING

## Description

This warning appears when you send an update request for an IncomingPhoneNumber that includes `EmergencyStatus`. Twilio does not enable or disable emergency calling by updating `EmergencyStatus`. Instead, associate or remove an emergency address with `EmergencyAddressSid`, then check `emergencyAddressStatus` to confirm whether the address is `registered`, `unregistered`, or still pending.

### Possible causes

* Your `POST` request to update an IncomingPhoneNumber included the `EmergencyStatus` parameter.
* Your application tried to activate or deactivate emergency calling by setting `EmergencyStatus` to `Active` or `Inactive`. Twilio ignores those changes for emergency calling configuration.
* You intended to register or remove an emergency address, but updated `EmergencyStatus` instead of `EmergencyAddressSid`.

### Possible solutions

* Remove `EmergencyStatus` from the IncomingPhoneNumber update request.
* To register emergency calling for a number, create and validate an emergency address if needed, then update the phone number with `EmergencyAddressSid`.
* To remove an emergency address from a number, update `EmergencyAddressSid` to `null`. For `curl`, leave the value blank.
* After you change the emergency address association, fetch the phone number and verify `emergencyAddressStatus`. A registered address is used when handling emergency calls from that number.
* If you are replacing an emergency address, first disassociate the current address, confirm the number is `unregistered`, then associate the new address and confirm it becomes `registered`.

#### Additional resources

* [IncomingPhoneNumber resource](/docs/phone-numbers/api/incomingphonenumber-resource)
* [Emergency Calling for SIP Interfaces API](/docs/voice/sip/api/emergency-calling-api)
* [How to Unregister an Emergency Address from a Twilio Phone Number](https://help.twilio.com/articles/6020069097115-How-to-Unregister-an-Emergency-Address-from-a-Twilio-Phone-Number)
