Problem
You get a runtime error on mobile with an error message from Business Central.
Solution
Step 1: Is it a known error message?
See Error Messages
Step 2: Inspect the Callstack
The call stack points to the failing code, which is VERY helpful.
The source of the error can be:
- Base BC code
- Standard Mobile WMS code
- Partner Extension code
The call stack is included in the error XML response and in the Mobile Document Queue.
The Request /Response shows also what data was exchanged between Mobile and BC.
Step 3: Could a third-party extension be the cause?
If you have other extensions installed, add-ons, or from your partner.
Try uninstalling them temporarily Consider doing this in a sandbox (step 6) to avoid disrupting the business.
- Go to: Extension Management
- Select an extension
- Select the three dots
- Select Uninstall
Does the issue change?
Step 4: Has the system been updated lately
- Has Mobile WMS extension been updated?
- Has the area been changed in recent releases? See Release Notes (Business Central)
- Has the area been changed in recent releases? See Release Notes (Business Central)
- Have you changed any extension code?
- Has Business Central been updated?
- Have you changed how the system is set up?
Step 5: Is it isolated to one order or any order?
- Is it a single document that cannot be processed?
- Can you reproduce the issue by creating new documents? (Using a sandbox, step 3)
Step 6: Reproduce the issue in a "Sandbox" (copy of the production)
With a sandbox you can:
- Avoid disrupting the customer's business
- Change data to check whether the issue changes
- Disable/Enable extensions and check if issue changes
- Debug code
See also