# BUG: GET method gives 404 with Number value | Webservice

**URL:** <https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664>\
**Category:** Bug Report\
**Tags:** katalon-testops\
**Created:** [September 23, 2020, 6:36pm UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664 "2020-09-23T18:36:08Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsp](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gsp/32/20464_2.png) [@gsp](https://forum.katalon.com/u/gsp)\
**Post date:** [September 23, 2020, 6:36pm UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/1 "2020-09-23T18:36:09Z")

</div>

- Katalon Studio Version: 7.5.5
- OS Version:
- Browser Version: NA

Steps to Reproduce:  
A:

1. used the Get method to fetch details for company
2. Used Auth Bearer token (updated)
3. give all the details required path
4. Submit Get Request (from object Repository)  
B:
5. Update The old token value with token and submit the Get request, Not showing Token Expired error (401)

Expected behavior:  
For A: It should show the details of company  
For B: It should show 401 (unauthorized)

Screenshots:  
For Expired token and with refreshed token (same error)

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/5/5d5d4ce7f7f947452f2ee3687ae8b3cf28084f98.png)

tried used datafiles too

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/5/57dd3ed3db58a4571099be67262c4a88d0211a96.png)  
 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/c/c67db766dd7b33af56630b80b21ad716e5bd932f.png)

With Globalvariables (after saving updated default profile as number)

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/8/814e4f0e6a364f46e86e2f5b3d3b1747c259ff3d.png)  
 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/3/375cff97a89e7223cf99a43a4854c416caade75c.png)

I can share you the demo on zoom too for this issue.

---

<div class="post-metadata">

**Author:** ![anon46315158](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon46315158](https://forum.katalon.com/u/anon46315158)\
**Post date:** [September 26, 2020, 11:27am UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/2 "2020-09-26T11:27:15Z")

</div>

after submitting the request, on the top-right there is and ‘Har’ link, click on it and you will see the details.  
Can you share the content of it, if there is no sensitive data?  
If not, check what was the actual url and if the headers are correctly set, from the response looks like the endpoint is not found.

the one with 'findTestData i think it is expected to fail, you cannot use it like that, have to do it in a test case, but the one with GlobalVariable in use should work  
Also, make sure that the CompanyID is right (do the same request from Postman).  
Parametrized endpoints are also trowing 404 if the in-path variable is wrong … therefore i always suggested developers to avoid them (a better approach will be to use required parameters so the errors can be better controlled)

---

<div class="post-metadata">

**Author:** ![gsp](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gsp/32/20464_2.png) [@gsp](https://forum.katalon.com/u/gsp)\
**Post date:** [September 28, 2020, 2:41pm UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/3 "2020-09-28T14:41:30Z")

</div>

Hi @anon46315158

1. its Working in Postman  
 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/5/5562584951b5fd65e7599fa9014d4dfc461128d1.png)  
404 in postman to verify:  
 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/7/7ccc32eb484605ffa7b2e1022181228df1c252f8.png)

404 in katalon

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/6/6b14f2bf8947b2a6d6631a4643a548d7b8b40a34.png)

1. HAR file: Pls check your inbox,

2. Let me if you found anything and all url’s/headers/values are checked no difference found.

Getting `ntCoent-Length: 68` like this in katalon with 404 error. is there have to do something in katalon settings ?

Thanks

---

<div class="post-metadata">

**Author:** ![anon46315158](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon46315158](https://forum.katalon.com/u/anon46315158)\
**Post date:** [September 29, 2020, 7:04am UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/4 "2020-09-29T07:04:27Z")

</div>

> [@gsp](#):
>
> Getting `ntCoent-Length:`

that’s strange … unless by mistake you somehow edited the har (should be Content-Length).  
i think it’s time to call some devs.  
@ThanhTo @devalex88 can somebody look into it? looks like a bug. i think were few previous topics, when the endpoint has numbers into it, will somehow convert it into string, sending invalid request. could be the case. (cannot find them right now)

@gsp please send the har file also to one of the devs when they reply, I am not part of the Katalon staff.

---

<div class="post-metadata">

**Author:** ![gsp](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gsp/32/20464_2.png) [@gsp](https://forum.katalon.com/u/gsp)\
**Post date:** [September 29, 2020, 9:36am UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/5 "2020-09-29T09:36:04Z")

</div>

@anon46315158 Thanks pls check ur inbox, HAR file is shared already

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [September 29, 2020, 10:35am UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/6 "2020-09-29T10:35:56Z")

</div>



---

<div class="post-metadata">

**Author:** ![anon46315158](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon46315158](https://forum.katalon.com/u/anon46315158)\
**Post date:** [September 29, 2020, 10:37am UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/7 "2020-09-29T10:37:05Z")

</div>

@gsp yeah, i saw it … but let’s wait for some devs

---

<div class="post-metadata">

**Author:** ![gsp](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gsp/32/20464_2.png) [@gsp](https://forum.katalon.com/u/gsp)\
**Post date:** [October 27, 2020, 4:55pm UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/8 "2020-10-27T16:55:37Z")

</div>

Hi Any update Bionel

---

<div class="post-metadata">

**Author:** ![huynguyen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/huynguyen/32/552_2.png) [@huynguyen](https://forum.katalon.com/u/huynguyen)\
**Post date:** [October 28, 2020, 4:40pm UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/9 "2020-10-28T16:40:44Z")

</div>

Hi @gsp,  
As @anon46315158 has mentioned, please share with us your HAR file.

---

<div class="post-metadata">

**Author:** ![gsp](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gsp/32/20464_2.png) [@gsp](https://forum.katalon.com/u/gsp)\
**Post date:** [October 29, 2020, 6:32pm UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/10 "2020-10-29T18:32:50Z")

</div>

I did share sir, in your inbox and bionel inbox too.

---

<div class="post-metadata">

**Author:** ![anon46315158](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon46315158](https://forum.katalon.com/u/anon46315158)\
**Post date:** [October 29, 2020, 7:50pm UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/11 "2020-10-29T19:50:28Z")

</div>

@gsp you shared with me, confirmed.  
Kindly reshare with @huynguyen at least

As i said before, i am not part of katalon staff, just a humble comunity member.  
Now you have the eyes of a good katalon team member, use it wisely

---

<div class="post-metadata">

**Author:** ![gsp](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gsp/32/20464_2.png) [@gsp](https://forum.katalon.com/u/gsp)\
**Post date:** [November 6, 2020, 2:00pm UTC](https://forum.katalon.com/t/bug-get-method-gives-404-with-number-value-webservice/47664/12 "2020-11-06T14:00:29Z")

</div>

shared with huynguyen too 🙂 thanks
