cancel
Showing results for 
Search instead for 
Did you mean: 

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

parthasaradhi
Explorer
0 Kudos

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 = [

{ID:1},

{ID:2},

{id:3}

]

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

Do suggest a solution if any to overcome this.

With Regards,

Partha.

View Entire Topic
parthasaradhi
Explorer
0 Kudos

Hello Everyone,

I fixed the issue (did some changes in payload as per my requirement) and now I am able to Insert records from CF as well.