You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to call the export_events endpoint, and an error occurs.
Steps to reproduce?
importonesignalfromonesignal.apiimportdefault_apifrompprintimportpprintapp_id=""# The ID of the app that the notification belongs to. notification_id=""# The ID of the notification to export events from. app_key=""configuration=onesignal.Configuration(
app_key=app_key,
)
withonesignal.ApiClient(configuration) asapi_client:
# Create an instance of the API classapi_instance=default_api.DefaultApi(api_client)
# example passing only required values which don't have defaults settry:
# Export CSV of Eventsapi_response=api_instance.export_events(notification_id, app_id)
pprint(api_response)
exceptonesignal.ApiExceptionase:
print("Exception when calling DefaultApi->export_events: %s\n"%e)
What happened?
I tried to call the
export_events
endpoint, and an error occurs.Steps to reproduce?
Then below error happen
What did you expect to happen?
Success to call the endpoint
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: