Unable to insert data in table using edge function

I have created an edge function, api call to which should insert data into a table. I am able to insert data manually into a table, but not when i try doing it using the edge function.

Edge function: https://supabase.com/dashboard/project/jcmopetponileolxengx/functions/insert_las_user_funds/code

Table: lending.las_user_funds

Getting 400 error, not sure what i am missing
Screenshot_2025-07-14_at_7.59.53_PM.png
Was this page helpful?