How to unpack json data and create a doctype entry in Server Script

I am trying to send data as from a third party app as json to erp next and then create a record entry in the Cash Drop Off Event doctype. When I try to post something my app reruns a 200 status code but no record is being created in the doctype. Below is my source code. Am I doing something wrong with receiving the Json data in my code?

But when I use hardcoded values like below it works

hey, did you find a solution to this?

Note that the frappe.form_data variable could be useful here too. I believe there is a small builtin documentation at the bottom if the server script’s form.