# Unauthorized trying to get freeBusy

**URL:** <https://devforum.zoom.us/t/unauthorized-trying-to-get-freebusy/129774>\
**Category:** API and Webhooks\
**Created:** [March 12, 2025, 4:12pm UTC](https://devforum.zoom.us/t/unauthorized-trying-to-get-freebusy/129774 "2025-03-12T16:12:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel.Brown](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/daniel.brown/32/67899_2.png) [@Daniel.Brown](https://devforum.zoom.us/u/Daniel.Brown)\
**Post date:** [March 12, 2025, 4:12pm UTC](https://devforum.zoom.us/t/unauthorized-trying-to-get-freebusy/129774/1 "2025-03-12T16:12:37Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
v2/calendars/freeBusy

**Description**  
I have a server to server oauth app that I’m using to pull voicemail, call history, call queue, and user information. All of that is working fine. However, we now need the ability to get user availability. When I try to call the /calendars/freeBusy endpoint I get an “Unauthorized” error, which you can see below. I’ve added all the following scopes to the app:

- calendar:read:setting:admin
- calendar:read:list\_acl:admin
- calendar:read:instance\_event:admin
- calendar:read:calendar:admin
- calendar:read:event:admin
- calendar:read:calendar\_list:admin
- calendar:read:acl:admin
- calendar:read:color:admin
- calendar:read:list\_events:admin

There are no other calendar:read:\* scopes that I can add.

**Error?**

```auto
{
    "error": {
        "code": 401,
        "errors": [
            {
                "appCode": 0,
                "domain": "global",
                "message": "Failed to pack result",
                "reason": "unauthorized"
            }
        ],
        "message": "Failed to pack result",
        "reqId": "ZMAIL_59a5d1b4ad1d9a64006265b1691c1076",
        "status": "UNAUTHORIZED"
    }
}

```

**How To Reproduce**  
_Steps to reproduce the behavior:_  
_1. Request URL / Headers **(without credentials or sensitive info like emails, uuid, etc.)** / Body_

```auto
POST v2/calendars/freeBusy
Content-Type: application/json
Accept: application/json
Authorization: Bearer [token]
Cache-Control: no-cache
Host: api.zoom.us
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 196

{
"timeMax": "2025-03-11",
"timeMin": "2025-03-12",
"calendarExpansionMax": "50",
"groupExpansionMax": "100",
"items": [
{
"id": "[useremail]"
}
]
}

```

_2. Authentication method or app type_  
Server-to-server oauth app

_3. Any errors_  
posted above

---

<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:** [March 14, 2025, 3:09pm UTC](https://devforum.zoom.us/t/unauthorized-trying-to-get-freebusy/129774/2 "2025-03-14T15:09:33Z")

</div>

Hey @Daniel.Brown  
Thanks for reaching out to us! Let me troubleshoot this on my end and will get back to you with an update

---

<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:** [March 17, 2025, 4:02pm UTC](https://devforum.zoom.us/t/unauthorized-trying-to-get-freebusy/129774/3 "2025-03-17T16:02:54Z")

</div>

Hey @Daniel.Brown  
I am able to troubleshoot this on my end.  
I will DM you for more details, follow up accordingly please

---

<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:** [March 21, 2026, 7:39am UTC](https://devforum.zoom.us/t/unauthorized-trying-to-get-freebusy/129774/4 "2026-03-21T07:39:51Z")

</div>

Closed on March 21, 2026, 7:39am UTC

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