422 error on starting my application.

Hello, 


Every time I press the button to see my page I see a 422 error. 

On the error log I can see this but I do not see what the problem exactly is.



Error Detail
Back to Log
Id:
2dcd9805-2507-4c71-b8a9-a9a3372952db
Time of Log:
2019-10-09 05:06:46
Request Key:29bb1035-c6c0-4ddd-befe-2043be62a305
Module:
myIDBM
Tenant:
Users
User:

Session Id:
CmJZNgCdnUyiIqk0mqer6g==
Server:
S6CHE-LT821D
Module:

Message:


422


Environment InformationeSpaceVer: Id=447, PubId=0, CompiledWith=11.0.606.0
RequestUrl: https://roelof-wobben2.outsystemscloud.com/myIDBM/moduleservices/log?clientTimeInMillis=1570597607479 (Method: POST)
AppDomain: /LM/W3SVC/25/ROOT/myIDBM-78-132150332915392795
FilePath: C:\OutSystems\Sandboxes\FQDBDV022\Platform Server\running\myIDBM\
ClientIp: 82.74.147.203
Locale: en-US
DateFormat: yyyy-MM-dd
PID: 13020 ('w3wp', Started='10/4/2019 10:54:31 AM', Priv=542Mb, Virt=2115898Mb)
TID: 34
Thread Name:
.NET: 4.0.30319.42000
Client-Side Log
Stack:


Solution

You initially send an empty string, causing the error.


Try this:

Solution

oke, I will try this but  this surprise me. When I start the appp there schould nothing send to the api server. That schould onlybe happening when a user clicks on the button. 

When you have this:


It will fetch at start. Either way, it seems you need to check you are not sending empty string ;)

oke, thanks for the explanation. Learned another thing