While accessing Zephyr cloud API using ZAPI, below error message is displaying in response body with status as 401-Unauthorized. Please let me know where I'm giving wrong inputs.
Expecting claim 'qsh' to have value '7f0d00c2c77e4af27f336c87906459429d1074bd6eaabb81249e1042d4b84374' but instead it has the value '9a826e393c52fc74522e694b7bdee21d88f49a4ffd3edf622b4a6f4ab8de592e'
End Point: https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycle?expand=&clonedCycleId=
Headers:
Content-Type: application/JSON
Authorization: JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI.....
Zapi Access Key: ZmQ1MDg1OGQt.......
To generate JWT token, below inputs were given in java file:
zephyrBaseUrl: https://prod-api.zephyr4jiracloud.com/connect
accessKey: ZAPI access key taken from Addons >> zapi section - ZmQ1MDg1OGQt.......
secretKey: ZAPI secret key taken from Addons >> zapi section - jFJl4BICL0X0Y3i........
accountId: Taken from below url (in Bold) https://xxxxxx.atlassian.net/people/5cbed0782675f70e50cd5a0a