I'm using python SDK, and the following code:
client.events().get_events(
stream_type=EnterpriseEventsStreamType.ADMIN_LOGS,
stream_position=0,
)
It returns me a 503 HTTP status error.
I also tried the following code:
client.events().get_admin_events()
still have the same issue. I have a Business subscription and have access to admin panel. I use OAuth authorization, and if I try to receive user's events then it works properly (so credentials are right), e.g:
client.events().get_events()
But I want to get admin logs. What did I miss?