Thanks for reaching out. It could be that your token is expired what whatever reason. Try to get a new one (in a notebook):
from dl import authClient as ac
from getpass import getpass
token = ac.login(input("Enter user name: "), getpass("Enter password: ")) # enter credentials, each time ending with ENTER
And now run your query again.
Please let us know whether that solved it for you or not. We'll help further if needed.
Best regards,
Robert