REST call fails with Status : Payment Required

0
I am using mendix studio pro 8.6.2 and running application locally. and trying to make rest calls through my utility to application hosted locally in Studio on my development machine. The utility is multi-threaded and can do 5-10 REST calls in parallel. When I enable threading i get failure in rest call with status :  Payment Required I referred documentation :https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402 But still i am not able to get what is the exact issue and how can I fix it   
asked
1 answers
0

Hi Akshay,

When running the Mendix modeler locally, you make use of the “free licence”, which means that you can have a limited number of concurrent sessions. I'm not exactly sure when a session will end when using a published REST operation, but I think that you hit that limit, as you speak about multi-threaded REST-calls. Probably you need to keep it at a maximum of 5 threads in parallel locally. When deploying to a licenced cloud node, this limitation is removed of course. You could verify if this is the case by logging in with another account and check the Mendix Console on this error:

Regards, Johan

answered