Skip to Content
Apr 05 at 10:30 PM

RangeError: Maximum call stack size exceeded for CAPM APP on CF


Hi Experts,

I am trying to do a Insert operation on SAP HANA Cloud DB from a capm application.

So now when I run it locally using cds watch on SQLite db, my Insert operation was successful.

When I deploy the application to CF and if I try to run the insert operation it is giving error as RangeError: Maximum call stack size exceeded.

Below are the logs from the service.


Here when I run it locally it is working fine and when run it from CF it is giving the above error.

Can anyone suggest like what needs to be done to make this work on CF as well.

Here is the insert query which I am using:

const post_response = [





let post_result = await INSERT (post_response). into ('My table');

Do suggest a solution if any to overcome this.

With Regards,



image.png (68.9 kB)