# AppFarm Crashing Every time I Click Query Parameter in Services Endpoint View

**URL:** <https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391>\
**Category:** Bug reports\
**Tags:** ui, service\
**Created:** [September 19, 2024, 1:21pm UTC](https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391 "2024-09-19T13:21:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amit](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/amit/32/1254_2.png) [@Amit](https://community.appfarm.io/u/Amit)\
**Post date:** [September 19, 2024, 1:21pm UTC](https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391/1 "2024-09-19T13:21:54Z")

</div>

Hi,

I am getting this,

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/4/412f8c07b17a263476d2225e695b4b3498dfccc0.png)

Every time I click Query Parameter in Services Endpoint View.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/f/f4066f570a8332f2ee43e64992198ea3226832f5.png)

---

<div class="post-metadata">

**Author:** ![ErikAKSkallevold](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/erikakskallevold/32/1378_2.png) [@ErikAKSkallevold](https://community.appfarm.io/u/ErikAKSkallevold)\
**Post date:** [September 20, 2024, 9:47am UTC](https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391/2 "2024-09-20T09:47:37Z")

</div>

Hello,

Does this happen for all service endpoints and all Query Paramters, or just one Query Paramter?  
I am not able to replicate the issue, so some more details would be much appreciated.  
I have also sent you a DM.

// Erik

---

<div class="post-metadata">

**Author:** ![Amit](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/amit/32/1254_2.png) [@Amit](https://community.appfarm.io/u/Amit)\
**Post date:** [September 20, 2024, 11:11am UTC](https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391/3 "2024-09-20T11:11:44Z")

</div>

Amazingly 🥲 it is specifically happening with Query Parameter “CompanyID” only with two of the endpoints. It works fine for FromDate / ToDate for both endpoints.

---

<div class="post-metadata">

**Author:** ![Amit](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/amit/32/1254_2.png) [@Amit](https://community.appfarm.io/u/Amit)\
**Post date:** [September 20, 2024, 11:28am UTC](https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391/4 "2024-09-20T11:28:36Z")

</div>

I am not sure if below console dump is useful but one of my college found it whenever this issue occurred,

TypeError: p is not a function  
at Object.validation (3804.cd81a16e30a660228579.js:1:151106)  
at kw (main.382feb3c06100e32e193.js:1:1492408)  
at main.382feb3c06100e32e193.js:1:1496774  
at Array.map ()  
at kB (main.382feb3c06100e32e193.js:1:1495837)  
at i.value (main.382feb3c06100e32e193.js:1:1504111)  
at sb (2568.517976dc974c02aa0871.js:7522:75816)  
at sg (2568.517976dc974c02aa0871.js:7522:75614)  
at l (2568.517976dc974c02aa0871.js:7522:120404)  
at aP (2568.517976dc974c02aa0871.js:7522:99078)  
at 2568.517976dc974c02aa0871.js:7522:98944  
at aB (2568.517976dc974c02aa0871.js:7522:98952)  
at aE (2568.517976dc974c02aa0871.js:7522:95703)  
at aT (2568.517976dc974c02aa0871.js:7522:96092)  
at i8 (2568.517976dc974c02aa0871.js:7522:44821)  
at 2568.517976dc974c02aa0871.js:7522:93602

---

<div class="post-metadata">

**Author:** ![ErikAKSkallevold](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/erikakskallevold/32/1378_2.png) [@ErikAKSkallevold](https://community.appfarm.io/u/ErikAKSkallevold)\
**Post date:** [September 23, 2024, 11:22am UTC](https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391/5 "2024-09-23T11:22:03Z")

</div>

Hi,

We found a weakness for Query Params that use RegExp validation in your stacktrace.  
Do you know if you are using RegExp for Query Param validation on `CompanyID` 😄

// Erik

---

<div class="post-metadata">

**Author:** ![Amit](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/amit/32/1254_2.png) [@Amit](https://community.appfarm.io/u/Amit)\
**Post date:** [September 23, 2024, 11:37am UTC](https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391/6 "2024-09-23T11:37:54Z")

</div>

Erik, not sure as not able to check it. But I made this a mandatory parameter of string type.

---

<div class="post-metadata">

**Author:** ![ErikAKSkallevold](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/erikakskallevold/32/1378_2.png) [@ErikAKSkallevold](https://community.appfarm.io/u/ErikAKSkallevold)\
**Post date:** [September 25, 2024, 5:22am UTC](https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391/7 "2024-09-25T05:22:46Z")

</div>

Hi again,

107 contains a fix that **might** resolve your issue.  
Does the issue still occur?

> [@Release Notes 107](https://community.appfarm.io/t/release-notes-107/1404):
>
> 107 marks the beginning of more frequent releases, allowing us to enhance the platform faster than ever. In this update, we’re excited to introduce a new action node along with several valuable improvements. New Action Node: Create File Archive Appfarm now offers native support for generating ZIP files in both apps and services. With this feature, users can easily create file archives from multiple data sources, customize file names and folder structures, and choose whether to download the arch…

// Erik

---

<div class="post-metadata">

**Author:** ![Amit](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/amit/32/1254_2.png) [@Amit](https://community.appfarm.io/u/Amit)\
**Post date:** [September 25, 2024, 6:04am UTC](https://community.appfarm.io/t/appfarm-crashing-every-time-i-click-query-parameter-in-services-endpoint-view/1391/8 "2024-09-25T06:04:39Z")

</div>

It is not an issue anymore. Thank you.
