# Error retrieving SMS via api

**URL:** <https://devforum.zoom.us/t/error-retrieving-sms-via-api/124280>\
**Category:** API and Webhooks\
**Created:** [January 10, 2025, 2:19am UTC](https://devforum.zoom.us/t/error-retrieving-sms-via-api/124280 "2025-01-10T02:19:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![accounts7](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@accounts7](https://devforum.zoom.us/u/accounts7)\
**Post date:** [January 10, 2025, 2:19am UTC](https://devforum.zoom.us/t/error-retrieving-sms-via-api/124280/1 "2025-01-10T02:19:04Z")

</div>

When trying to access endpoint

/v2/phone/sms/sessions

i get

{  
“code”: 7012,  
“message”: “Error retrieving SMS.”  
}

It seems no matter what SMS endpoint i try and access i get this message. Is there something im missing?

---

<div class="post-metadata">

**Author:** ![accounts7](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@accounts7](https://devforum.zoom.us/u/accounts7)\
**Post date:** [May 29, 2025, 3:04pm UTC](https://devforum.zoom.us/t/error-retrieving-sms-via-api/124280/2 "2025-05-29T15:04:10Z")

</div>

Figured this out. So this was a parameter issue. I had page\_size 300 which was causing the error, removing it or changing it to 100 returned values, same for /phone/sms/sessions had to remove from to and it returned data.

It would be nice if it returned the actual issue like parameters error not just error sms.

---

<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:** [November 17, 2025, 7:01pm UTC](https://devforum.zoom.us/t/error-retrieving-sms-via-api/124280/3 "2025-11-17T19:01:32Z")

</div>

Closed on November 17, 2025, 7:01pm UTC

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