# Error Code 104 on a POST Request

**URL:** <https://community.smartbear.com/t/error-code-104-on-a-post-request/647>\
**Category:** Zephyr\
**Tags:** test, migrated, zephyr-squad, latest\
**Created:** [March 5, 2026, 1:38pm UTC](https://community.smartbear.com/t/error-code-104-on-a-post-request/647 "2026-03-05T13:38:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 5, 2026, 1:38pm UTC](https://community.smartbear.com/t/error-code-104-on-a-post-request/647/1 "2026-03-05T13:38:54Z")

</div>

> Originally posted by **qb1ka** on March 05, 2026

I am using zephyr squad api for exporting tracebility

however i am getting error code 104 on zephyr, the error message is not helpful. I have tried putting version id as well but I get the same error. the requirements id is the Jira id of type=requirement.

this is my code

> def zephyr(requirement\_ids: list[str], export\_type: str = “excel”):
> 
> rel = “/public/rest/api/1.0/traceability/export”
> 
> method = “POST”
> 
> url, jwt\_token = token\_generator(rel, query\_string=None, call=method)
> 
> headers = {
> 
> “Authorization”: jwt\_token,
> 
> “zapiAccessKey”: ACCESS\_KEY,
> 
> “Accept”: “application/json”,
> 
> “Content-Type”: “application/json”
> 
> }
> 
> payload = {
> 
> “exportType”: export\_type,
> 
> “requirementIdList”: [str(r) for r in requirement\_ids]
> 
> }
> 
> resp = requests.post(url, headers=headers, data=json.dumps(payload))
> 
> try:
> 
> resp.raise\_for\_status()
> 
> print(resp)
> 
> except requests.HTTPError as e:
> 
> print(resp.text)
> 
> zephyr\_traceability\_export(requirement\_ids=[“918731”], export\_type=“excel”)

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 6, 2026, 3:17pm UTC](https://community.smartbear.com/t/error-code-104-on-a-post-request/647/2 "2026-03-06T15:17:10Z")

</div>

> Originally posted by **qb1ka** on March 06, 2026

Hi any help?

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 7, 2026, 3:13pm UTC](https://community.smartbear.com/t/error-code-104-on-a-post-request/647/3 "2026-03-07T15:13:07Z")

</div>

> Originally posted by **qb1ka** on March 07, 2026

Hi any help?

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 9, 2026, 1:11pm UTC](https://community.smartbear.com/t/error-code-104-on-a-post-request/647/4 "2026-03-09T13:11:48Z")

</div>

> Originally posted by **qb1ka** on March 09, 2026

hi any help?

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 10, 2026, 7:25pm UTC](https://community.smartbear.com/t/error-code-104-on-a-post-request/647/5 "2026-03-10T19:25:53Z")

</div>

> Originally posted by **qb1ka** on March 10, 2026

Hi any help?

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [April 16, 2026, 10:58pm UTC](https://community.smartbear.com/t/error-code-104-on-a-post-request/647/6 "2026-04-16T22:58:06Z")

</div>

> Originally posted by **SoundChalice229** on April 16, 2026

Hi qb1ka​,

Please check/confirm the following:

1. Does your _url_variable include “/connect” in your _jwt\_token_ code? Otherwise _rel_ variable in your code should be _“/connect/public/rest/api/1.0/traceability/export/”_

**Note:** You will need to re-generate the JWT token if you did not include “/_connect_”

I don’t see any other errors from the code above so the issue could be in your _jwt\_token_ code/script.
