# Common Area Optimization option is not enabled - API error for Phone

**URL:** <https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [May 9, 2022, 3:36pm UTC](https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698 "2022-05-09T15:36:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RB\_GFMA](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@RB\_GFMA](https://devforum.zoom.us/u/RB_GFMA)\
**Post date:** [May 9, 2022, 3:36pm UTC](https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698/1 "2022-05-09T15:36:25Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I am getting this error when calling

“message”: “Common Area Optimization option is not enabled.”

[https://marketplace.zoom.us/docs/api-reference/phone/methods/#operation/deleteExtensionFromADevice](https://marketplace.zoom.us/docs/api-reference/phone/methods/#operation/deleteExtensionFromADevice)

**Error**  
The full error message or issue you are running into.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

**Which Endpoint/s?**  
[Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.](https://api.zoom.us/v2/phone/devices/%7BdeviceId%7D/extensions/%7BextensionId%7D)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL / Headers (without credentials) / Body
2. See error

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 9, 2022, 10:50pm UTC](https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698/2 "2022-05-09T22:50:22Z")

</div>

Hi @RB_GFMA

Thanks for reaching out to the Zoom Developer Forum and welcome to our community! I am happy to help here!  
Could you please confirm that you are trying to Unassign an entity from the device ??? by using the DELETE method?

I have not been able to replicate this issue on my end.  
Thanks  
Elisa

---

<div class="post-metadata">

**Author:** ![RB\_GFMA](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@RB\_GFMA](https://devforum.zoom.us/u/RB_GFMA)\
**Post date:** [May 9, 2022, 11:42pm UTC](https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698/3 "2022-05-09T23:42:27Z")

</div>

> [@RB\_GFMA](#):
>
> “message”: “Common Area Optimization option is not enabled.”

Here is the full postman response /request and

DELETE [https://api.zoom.us/v2/phone/devices/IEnjUj6aTLKlqsIjGfTiPQ/extensions/aCQPEmv\_SraLJDX-4SIcXA:](https://api.zoom.us/v2/phone/devices/IEnjUj6aTLKlqsIjGfTiPQ/extensions/aCQPEmv_SraLJDX-4SIcXA:) {  
“Network”: {  
“addresses”: {  
“local”: {  
“address”: “172.18.2.251”,  
“family”: “IPv4”,  
“port”: 56765  
},  
“remote”: {  
“address”: “170.114.10.88”,  
“family”: “IPv4”,  
“port”: 443  
}  
},  
“tls”: {  
“reused”: false,  
“authorized”: true,  
“authorizationError”: null,  
“cipher”: {  
“name”: “ECDHE-RSA-AES256-GCM-SHA384”,  
“standardName”: “TLS\_ECDHE\_RSA\_WITH\_AES\_256\_GCM\_SHA384”,  
“version”: “TLSv1/SSLv3”  
},  
“protocol”: “TLSv1.2”,  
“ephemeralKeyInfo”: {},  
“peerCertificate”: {  
“subject”: {  
“country”: “US”,  
“stateOrProvince”: “California”,  
“locality”: “San Jose”,  
“organization”: “Zoom Video Communications, Inc.”,  
“commonName”: “_.zoom.us",  
“alternativeNames”: "DNS:_.zoom.us, DNS:zoom.us”  
},  
“issuer”: {  
“country”: “US”,  
“organization”: “DigiCert Inc”,  
“commonName”: “DigiCert TLS RSA SHA256 2020 CA1”  
},  
“validFrom”: “Apr 29 00:00:00 2022 GMT”,  
“validTo”: “May 2 23:59:59 2023 GMT”,  
“fingerprint”: “63:61:74:F8:BE:22:78:A4:7C:7A:32:CA:EF:11:02:3A:69:FB:E5:C4”,  
“serialNumber”: “0ed5304494525576b4650ce529381c82”  
}  
}  
},  
“Request Headers”: {  
“authorization”: “Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”,  
“user-agent”: “PostmanRuntime/7.29.0”,  
“accept”: “_/_”,  
“cache-control”: “no-cache”,  
“postman-token”: “fe2bb818-56d4-4eec-929c-f1035105dc5d”,  
“host”: “[api.zoom.us](http://api.zoom.us)”,  
“accept-encoding”: “gzip, deflate, br”,  
“connection”: “keep-alive”  
},  
“Response Headers”: {  
“date”: “Mon, 09 May 2022 23:37:11 GMT”,  
“content-type”: “application/json”,  
“content-length”: “72”,  
“connection”: “keep-alive”,  
“x-zm-region”: “VA”,  
“x-zm-trackingid”: “WEB\_257038cbfa2f03f226e37a904de49e7b”,  
“vary”: [  
“Origin”,  
“Access-Control-Request-Method”,  
“Access-Control-Request-Headers”  
],  
“x-ratelimit-category”: “Light”,  
“strict-transport-security”: “max-age=31536000; includeSubDomains”  
},  
“Response Body”: “{"code":400,"message":"Common Area Optimization option is not enabled."}”  
}

---

<div class="post-metadata">

**Author:** ![RB\_GFMA](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@RB\_GFMA](https://devforum.zoom.us/u/RB_GFMA)\
**Post date:** [May 9, 2022, 11:43pm UTC](https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698/4 "2022-05-09T23:43:17Z")

</div>

here is the video… ei

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 16, 2022, 1:08pm UTC](https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698/5 "2022-05-16T13:08:46Z")

</div>

Hi @RB_GFMA

Thank you for sharing more details with us. I will go ahead and delete the video since your authorization token is visible.

When you shared the above request/response for the DELETE method, I noticed that you sent a request body? for this endpoint you should not be passing one.

I also found an internal ticket you created with support. I will take it from there

Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![RB\_GFMA](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@RB\_GFMA](https://devforum.zoom.us/u/RB_GFMA)\
**Post date:** [May 16, 2022, 1:22pm UTC](https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698/6 "2022-05-16T13:22:08Z")

</div>

Here is the ticket [14287156](https://support.zoom.us/hc/requests/14287156) and also has more information with patch and empty body trials results

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 16, 2022, 1:26pm UTC](https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698/7 "2022-05-16T13:26:48Z")

</div>

Thanks! I will take it from there 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 15, 2022, 11:27pm UTC](https://devforum.zoom.us/t/common-area-optimization-option-is-not-enabled-api-error-for-phone/68698/8 "2022-06-15T23:27:19Z")

</div>

Closed on June 15, 2022, 11:27pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
