最近搜索
没有最近搜索
Error while exporting the Article data
已于 2022年2月07日 发布
Hello Support team,
We are having an error while exporting the data as mentioned in the below link
The error we are getting is
Traceback (most recent call last):
File "c:\Users\karip\OneDrive\Desktop\New folder\import requests.py", line 41, in <module>
for article in data['articles']:
KeyError: 'articles'
Requesting you to please provide a resolution. By providing a new token will resolve the issue.
Thanks & Regards
0
1
1 条评论
Erica Girges
Appreciate you posting your question to the Community. Unfortunately, this isn't a script that we maintain and support ourselves. It looks like it was created by one of our lovely Dev Community members like yourself. However, if you are having authentication issues when making your request to the API, you could generate a new API token in your Zendesk instance. [Here](https://support.zendesk.com/hc/en-us/articles/4408889192858-Generating-a-new-API-token) is a link to that guide. Bear in mind that once you you have the new token you'll want to also use a Base64 encoder before adding it to your header.
Hope this helps!
Best,
Erica - Dev Support
0