Zephyr Cloud api returns 401 Unauthorized

K C, Balaji
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 21, 2023

JWT token generation

Generated JWT using below payloads

base url - https://prod-api.zephyr4jiracloud.com/v2

Access Key - ......

Secret Key - ......

Account Id - ......

Expiration - 3600 sec

--------------------------------------------------------------------------------------------------

Python Script to Authenticate & Access

Authentication method - Bearer

headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer ey......(JWT)
}

Execute python script using

requests.request("GET", "https://prod-api.zephyr4jiracloud.com/v2/projects/", headers=headers, verify=False)
Script Execution Output
401
b'Unauthorized'
Reference

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events