I use the Default/Shipment endpoint to save shipment information to Acumatica via REST API. If the order cannot be shipped in full (or other common errors), I get a failure to save the shipment record and the only message returned by Acumatica will say “Order SO X cannot be shipped in full. Check Trace for more details.”
How can I check trace for more details? I have tried:
- Request Profiler
- I can see the returned Exception here if I turn on logging, but the exception is too late to tell me where the problem is.
- System Monitor
- Logging in as the API user and looking at the Trace page there
- Guzzle request to /Scripts/Trace/index.html
- This just returns the HTML for a deferred script unless I want to get into browser emulation just to get a usable error message
Shipments can be 80+ lines, so trying to replicate the problem by hand in Acumatica is not working well.
