Integration troubleshooting
Common issues and solutions for Demurly integrations.
Pro plan
General issues
Integration shows "Not connected"
Causes:
- The connection test failed when you saved the credentials
- The integration was disconnected
Solutions:
- Click Connect and enter the credentials again (QuickBooks: sign in again)
- Read the error shown after saving; it comes from the external system
- Check Connection History for failed connect attempts
Test Connection fails
Steps to diagnose:
- Read the error message in the notification
- Check that the credentials weren't revoked or changed in the external system
- Check that the server is reachable from the internet over HTTPS
- Use Configure to enter the credentials again
Invoices don't appear in my accounting system
Check:
- Invoices are made when a customer approves a record. A fuel buyer's connection makes bills instead, once each carrier is mapped to a vendor (the record says "waiting for vendor mapping" until then).
- Invoice approved records automatically is on, and NetSuite or SAP Business One has its invoice settings filled in (the item to bill as).
- Records approved before you connected aren't invoiced until you click Invoice them (fuel buyers: Bill earlier charges).
- SAP S/4HANA connects to check access only; it doesn't receive invoices.
- Look at Recent activity in Settings > Integrations for a failed invoice and its error, fix the cause, then click Retry. A failed job is also retried on its own, up to five times over about 32 hours.
QuickBooks issues
"Connection failed" after returning from Intuit
The authorization was cancelled, expired, or the company couldn't be read.
Solution: Click Connect again and finish the Intuit sign-in within a few minutes.
"Invalid grant" error
The refresh token expired or was revoked in QuickBooks.
Solution: Disconnect and reconnect QuickBooks.
NetSuite issues
"Invalid login attempt"
Possible causes:
- Wrong account ID (sandbox accounts end in _SB1, _SB2, ...)
- Token or integration record revoked or disabled
- Consumer key/secret and token from different integration records
Solutions:
- Verify the token in NetSuite > Setup > Users/Roles > Access Tokens
- Create a new token if it was revoked, then use Configure
"Permission failure"
The token's role can't run the connection test.
The role needs:
- Setup > Log in using Access Tokens
- Setup > REST Web Services
- Permission to run SuiteQL and read company information
SAP issues
Login failed (Business One)
- Incorrect username, password or company database name (case-sensitive)
- User lacks access to the database
- Server URL includes
/b1s/v1(enter only the scheme, host and port)
401 or 403 (S/4HANA)
- Communication user password changed
- The communication arrangement is inactive or doesn't include the Billing Document API
Check the arrangement in S/4HANA, then use Configure to enter the credentials again.
EDI webhook errors
Responses from POST https://www.demurly.com/api/edi/webhook. Errors have the body { "error": { "code", "message", "details"? } }.
| Status | Message | Fix |
|---|---|---|
| 400 | Missing X-EDI-Config-Id header | Send the configuration ID in the X-EDI-Config-Id header |
| 400 | Webhook signing is required | Set a signing secret on the configuration's Connection tab |
| 401 | Missing signature | Send the X-EDI-Signature header |
| 401 | Invalid signature | Sign the exact raw body with HMAC-SHA256 and the same secret; send the lowercase hex digest (no sha256= prefix) |
| 404 | Configuration not found or inactive | Check the ID and turn the configuration on |
| 413 | Payload too large | Keep each message under 1 MB; split large batches |
| 415 | Content-Type ... isn't accepted for this configuration | Send X12 as application/edi-x12 or text/plain, JSON as application/json, CSV as text/csv (or leave the header out) |
| 422 | EDI processing failed | The message was stored but couldn't be parsed (for example invalid JSON or a malformed X12 envelope). details.message_id identifies it; the error is in Message History |
Message received but no record appeared
Only X12 214 arrivals (X3, X1) open records; 210s, JSON and CSV are stored only. For a 214, the response and the message in Message History say why a status was skipped. Common reasons:
- No
L11*<driver number>*DRV, or no active driver with that number in your company - No B10 reference, or a departure with no arrival on file for that shipment
- No date or time on the AT7, an unknown time code, or local times with no time zone set on the configuration
- A time in the future, or more than 30 days ago
- The shipment stop already has a record (the 214 was sent before)
Information to provide
When contacting support, include:
- Integration type (QuickBooks, NetSuite, SAP, PDI Enterprise, EDI, API or webhooks)
- Error message (exact text)
- Timestamp of the error
- EDI message ID (if applicable)
- Screenshots of Settings > Data exchange, Connection History or Message History
Contact support
Email: support@demurly.com
In the app: Send feedback or Help & support in your account menu