# 400 Error When Retrieving Operational Logs via API

**URL:** <https://devforum.zoom.us/t/400-error-when-retrieving-operational-logs-via-api/107499>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [April 9, 2024, 6:37am UTC](https://devforum.zoom.us/t/400-error-when-retrieving-operational-logs-via-api/107499 "2024-04-09T06:37:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phani.mathangi](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@phani.mathangi](https://devforum.zoom.us/u/phani.mathangi)\
**Post date:** [April 9, 2024, 6:37am UTC](https://devforum.zoom.us/t/400-error-when-retrieving-operational-logs-via-api/107499/1 "2024-04-09T06:37:35Z")

</div>

I was unable to retrieve my account operational logs through "url = “[https://api.zoom.us/v2/report/operationlogs](https://api.zoom.us/v2/report/operationlogs)” when I try to run the python function in my local machine I was getting this error "Failed to fetch operation logs. Status code: 400  
Response: {“code”:200,“message”:“No permission.”}”. For authentication, I’m utilizing the “Server-To-Server OAuth” method. I was admin for that zoom account. Additionally, I have ensured that my application has the necessary scopes assigned for these operations.  
Below are the scopes I have provided to my application:

report:read:operation\_logs:admin

Could anyone guide me on what might be causing this error? Is there a specific scope required for accessing account settings that I might have overlooked, or could this be related to another issue?

Thank you for your assistance!

---

<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:** [April 12, 2025, 10:13pm UTC](https://devforum.zoom.us/t/400-error-when-retrieving-operational-logs-via-api/107499/2 "2025-04-12T22:13:50Z")

</div>

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