Field NationDeveloper Platform
Field NationDeveloper Platform
Pre-built ConnectorsGetting Started
Integration Broker Architecture

Configuration

Field MappingsCustom Actions with JSONNETEvents & Synchronization

Troubleshooting

Troubleshooting
Concepts

Troubleshooting

Common issues with pre-built connectors and step-by-step solutions to debug integration problems.


Quick Diagnosis

Work orders not creating or updating?

Check Webhook

Verify webhook triggering in external system:

  • Check webhook configuration
  • Review webhook logs/history
  • Test webhook manually

Verify Authentication

Confirm credentials are valid:

  • API keys not expired
  • OAuth tokens refreshed
  • Correct instance/account ID
  • Sufficient permissions

Review Logs

Check Integration Broker logs:

  • Navigate to Integrations → Logs
  • Filter by date/time of expected sync
  • Look for authentication or validation errors

Test Manually

Trigger a test sync:

  • Create a simple test record
  • Verify it meets trigger conditions
  • Monitor logs for processing

Some fields syncing, others not?

Check Field Mappings

Review configured mappings:

  • Is the field mapped?
  • Is the mapping action correct?
  • Does source field exist in payload?

Verify Permissions

Ensure API user can access fields:

  • Read permission on source fields
  • Write permission on target fields
  • Custom field API access enabled

Test Field Values

Inspect actual data:

  • Check source field contains value
  • Verify data type matches expectation
  • Test transformation logic with sample data

Review Logs

Look for field-specific errors:

  • Validation failures
  • Type conversion errors
  • JSONNET execution errors

Seeing errors in logs?

Identify Error Category

Determine error type:

  • Authentication (401, 403)
  • Validation (400, 422)
  • Rate Limiting (429)
  • Server Error (500, 502, 503)

Check Error Details

Review error message and context:

  • Which API endpoint failed?
  • What data was being sent?
  • Is error consistent or intermittent?

Apply Solution

Follow category-specific fix:

  • Authentication → Refresh credentials
  • Validation → Fix field mappings
  • Rate Limit → Add delays/batching
  • Server Error → Retry, contact support

Monitor Resolution

Verify fix resolves issue:

  • Trigger test sync
  • Watch for successful processing
  • Confirm no new errors

Syncs are slow or delayed?

Check Queue Depth

Review message queue status:

  • Navigate to Integrations → Metrics
  • Check pending message count
  • Identify bottlenecks

Monitor API Response Times

Review external API performance:

  • Check Integration Broker logs for latency
  • Test external API directly
  • Verify no rate limiting

Optimize Mappings

Reduce transformation complexity:

  • Simplify custom JSONNET
  • Remove unnecessary field mappings
  • Batch operations where possible

Scale Resources

If consistently slow:

  • Contact Field Nation Support
  • Request additional worker instances
  • Review architecture with support team

Common Issues & Solutions

Authentication Problems


Data Validation Errors


Webhook & Trigger Issues


Field Mapping Problems


Performance Issues


Debugging Checklist

Use this systematic approach for any integration issue:

1. Gather Information

  • ☐ When did the issue start?
  • ☐ Is it affecting all syncs or specific records?
  • ☐ What changed recently? (configuration, external system, Field Nation)
  • ☐ Can you reproduce the issue?

2. Check Logs

  • ☐ Integration Broker logs for error messages
  • ☐ External system webhook logs
  • ☐ Field Nation work order history
  • ☐ Network/firewall logs if connectivity suspected

3. Test Components

  • ☐ Test authentication (API credentials work?)
  • ☐ Test webhook (manual trigger works?)
  • ☐ Test field mappings (with sample data)
  • ☐ Test external API directly (outside integration)

4. Isolate Problem

  • ☐ Is it authentication, validation, or transformation?
  • ☐ Is it specific field or all fields?
  • ☐ Is it inbound, outbound, or both?
  • ☐ Is it consistent or intermittent?

5. Apply Fix

  • ☐ Update configuration based on findings
  • ☐ Test fix with sample sync
  • ☐ Monitor for successful processing
  • ☐ Document solution for future reference

Getting Help

Before Contacting Support

Gather this information to expedite support:

  1. Integration Details

    • Connector name (Salesforce, ServiceNow, etc.)
    • Company ID
    • Environment (Sandbox or Production)
  2. Issue Description

    • What you expected to happen
    • What actually happened
    • When the issue started
    • Frequency (always, sometimes, once)
  3. Relevant IDs

    • Work Order ID(s) affected
    • External Record ID(s)
    • Correlation ID(s)
    • Error message timestamps
  4. Troubleshooting Attempted

    • Steps you've already tried
    • Results of each attempt
    • Any temporary workarounds

Contact Support

Field Nation Support:

  • Portal: app.fieldnation.com/support-cases
  • Phone: +1 877-573-4353 (24/7)

Priority Levels:

  • P1 (Critical): Integration completely down, business impact
  • P2 (High): Partial failure, workaround available
  • P3 (Medium): Minor issue, low impact
  • P4 (Low): Question, enhancement request

Complete support resources →


Platform-Specific Troubleshooting

Each platform has unique considerations:

Salesforce

Flow and Outbound Message issues

ServiceNow

Business Rule and REST Message debugging

REST Connector

OpenAPI spec and endpoint configuration

View all platforms →


Preventive Measures

Monitoring

  • ✅ Set up error email notifications
  • ✅ Monitor queue depths daily
  • ✅ Review sync success rates weekly
  • ✅ Check external API health

Maintenance

  • ✅ Test integrations after external system upgrades
  • ✅ Rotate API credentials periodically
  • ✅ Review and update field mappings
  • ✅ Document configuration changes

Best Practices

  • ✅ Start simple, add complexity gradually
  • ✅ Test thoroughly in sandbox before production
  • ✅ Keep transformation logic simple
  • ✅ Use descriptive names for mappings
  • ✅ Document business logic in JSONNET comments

Last updated on

Events & Synchronization

Understanding work order events that trigger connector synchronization and how to configure event-based data flows.

Autotask Connector

Integrate Datto Autotask PSA with Field Nation for automated field service dispatch from service tickets and work orders.

On this page

Quick Diagnosis
Check Webhook
Verify Authentication
Review Logs
Test Manually
Check Field Mappings
Verify Permissions
Test Field Values
Review Logs
Identify Error Category
Check Error Details
Apply Solution
Monitor Resolution
Check Queue Depth
Monitor API Response Times
Optimize Mappings
Scale Resources
Common Issues & Solutions
Authentication Problems
Data Validation Errors
Webhook & Trigger Issues
Field Mapping Problems
Performance Issues
Debugging Checklist
1. Gather Information
2. Check Logs
3. Test Components
4. Isolate Problem
5. Apply Fix
Getting Help
Before Contacting Support
Contact Support
Platform-Specific Troubleshooting
Preventive Measures
Monitoring
Maintenance
Best Practices