최근 검색


최근 검색 없음

Python call to Audits API - "Couldn't authenticate you"



2024년 6월 07일에 게시됨

Why can't I get the Authentication to work

 

url = "https://sandboxdomain.zendesk.com/api/v2/tickets/"

url1 = "/audits.json"

 

response = requests.request(

    "GET",

    url+ticket[0]+url1,

    auth=('myuser@workdomain.com/token:{ZD provided token}',""),

    headers=headers

)


1

2

댓글 2개

image avatar

Charles Nadeau

Zendesk Documentation Team

Hi Ron, the auth parameter should read as follows:

auth=('myuser@workdomain.com/token', '{ZD provided token}')
 

0


hi Charles Nadeau , do you have some docs on python authentication? I tried your suggestion but didn't work
thanks!

0


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물