Skip to content
Back to integrations

Integration troubleshooting

Common issues and solutions for Demurly integrations.

Pro plan

Carriers need Pro ($199 a month) to set this up; upgrade on Settings > Plan & billing. Fuel buyers get it free. See pricing.

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:

  1. Read the error message in the notification
  2. Check that the credentials weren't revoked or changed in the external system
  3. Check that the server is reachable from the internet over HTTPS
  4. 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"? } }.

StatusMessageFix
400Missing X-EDI-Config-Id headerSend the configuration ID in the X-EDI-Config-Id header
400Webhook signing is requiredSet a signing secret on the configuration's Connection tab
401Missing signatureSend the X-EDI-Signature header
401Invalid signatureSign the exact raw body with HMAC-SHA256 and the same secret; send the lowercase hex digest (no sha256= prefix)
404Configuration not found or inactiveCheck the ID and turn the configuration on
413Payload too largeKeep each message under 1 MB; split large batches
415Content-Type ... isn't accepted for this configurationSend X12 as application/edi-x12 or text/plain, JSON as application/json, CSV as text/csv (or leave the header out)
422EDI processing failedThe 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:

  1. Integration type (QuickBooks, NetSuite, SAP, PDI Enterprise, EDI, API or webhooks)
  2. Error message (exact text)
  3. Timestamp of the error
  4. EDI message ID (if applicable)
  5. 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

Contact support