I'm getting an error that a mandatory field is missing when creating a new entity. It's a script that makes an api call. Is there a way to see the body (payload) of the api call being made in EspoCRM when there's an error? From the script it looks good, the json looks correct and the mandatory fields are declared properly, but I can't tell if the body is even being sent in the request. I suspect the body is empty but I can't prove it.
View body (payload) of an API call
Collapse
X
-
I'm getting an error that a mandatory field is missing when creating a new entity. It's a script that makes an api call. Is there a way to see the body (payload) of the api call being made in EspoCRM when there's an error? From the script it looks good, the json looks correct and the mandatory fields are declared properly, but I can't tell if the body is even being sent in the request. I suspect the body is empty but I can't prove it.
I worked around this with apache2, I enabled the dump_io module and logged traces to view the payload.
Comment