I am using the python sample code from https://developers.ringcentral.com/guide/messaging/message-store/message-exports-report#python to try and export the message store. Using the exact same code, modified with my sandbox credentials and a later "dateTo", I get the following error. Any suggestions?
check task creation status ...
Traceback (most recent call last):
File "sms.py", line 48, in <module>
create_message_store_report()
File "sms.py", line 15, in create_message_store_report
get_message_store_report_task(json.id)
File "sms.py", line 25, in get_message_store_report_task
time.sleep(2)
NameError: name 'time' is not defined