WatchDog Admin FAQ

This documentation helps administrators understand WatchDog error messages and troubleshoot issues.
UI Location: Settings → Document Processing → WatchDog
1. WatchDog Settings Pages (UI)
1.1 General Tab
Download: Get the latest WatchDog.exe
API Key: Copy the configuration command
Auto-Update Schedule: Configure update frequency
Installation Guide: Step-by-step setup instructions
1.2 Configurations Tab
Import Configurations: Define watch folders and document types
Export Configurations: Define export destinations and methods
Bulk Copy: Copy configurations across sub-organisations
Import/Export: Import/export configs as JSON
Important: Export configurations now require a document type (
doc_type). Configurations without a valid document type will be rejected.
1.3 Status Tab
Shows real-time WatchDog connection status
New fields:
last_restart,version_first_seen,latest_version_checked_atSystem info: Installation path, free RAM, free disk space
1.4 Logs Tab
Shows all WatchDog events from OpenSearch
Filterable by event type, time period, etc.
Event Types:
FILE_IMPORT_STARTED: File import startedFILE_IMPORT_COMPLETED: Import successfulFILE_IMPORT_FAILED: Import failedEXPORT_STARTED: Export startedEXPORT_COMPLETED: Export successfulEXPORT_FAILED: Export failedFOLDER_VALIDATION_FAILED: Folder not reachableCONFIG_LOADED: Configuration loadedSERVICE_RESTART_INITIATED: Service restart requestedSERVICE_RESTART_COMPLETED: Service restarted
1.5 XSLT Templates Tab
Upload and manage XSLT transformation templates
Live validation with field analysis
Link templates to export configurations
2. Folder Validation Error Messages
not_found
Folder does not exist
Create folder or correct path
no_read_access
No read permission
Set permissions for WatchDog Service Account
no_write_access
No write permission
Grant write rights to Service Account
not_configured
Folder path not configured
Enter path in configuration
Affected Folders:
Watch Folder (Import): Where WatchDog looks for new files
Success Folder: Where successfully imported files are moved
Export Folder: Where exported XML/PDF files are written
3. Import Error Messages
file_not_found
File was deleted before import
Provide file again
invalid_file_type
Only PDF files are supported
Remove other file types
api_not_accessible
DocBits API not reachable
Check network/firewall, verify API URL
api_check_failed
API Health Check failed
Check API Key and connection
upload_failed
Upload to API failed
Check API Key, network, server status
4. Export Error Messages
transformation_error
XSLT Transformation failed
Check XSLT Template, validate XML structure
folder_error
Export folder not reachable
Create folder, check permissions
file_write_error
File could not be written
Check disk space, permissions, file locks
permission_denied
No write permission
Set Service Account permissions
creation_failed
Folder could not be created
Check parent folder permissions
no_config_match
No matching export configuration
Create export config with correct document type
Note: Export configurations require a
doc_type. If you seeno_config_match, verify that an active export configuration exists for the document's type.
5. Configuration Disabled — Reasons
When a configuration is disabled, one of these reasons appears:
Watch folder: not_found
Import folder does not exist
Watch folder: no_read_access
Import folder not readable
Export folder: not_found
Export folder does not exist
Export folder: no_write_access
Export folder not writable
Success folder: not_found
Success folder does not exist
Success folder: no_write_access
Success folder not writable
Automatic Reactivation: WatchDog checks folders regularly (every 60 seconds). As soon as the folder is reachable again, the configuration is automatically reactivated.
6. Error Folder (_error)
_error)Failed files are moved to the _error folder:
Location: {import_folder}/_error/{error_type}/
File Format: {original_name}_{YYYYMMDD_HHMMSS}.pdf
Sidecar File: Each failed file has a .error companion file with:
7. Heartbeat & Connection Status
WatchDog sends a heartbeat to DocBits every ~10 seconds with system information:
Timestamp
Current time
Version
Installed WatchDog version
Last Restart
Last service restart time
Auto-Update Enabled
Whether auto-update is active
Latest Version
Newest available version
Installation Path
Where WatchDog is installed
Free RAM / Disk
Available system resources
Connection Status
✅ Online
WatchDog is connected and active
⚠️ Offline
No heartbeat for 30+ seconds
❌ Not Installed
WatchDog has never connected
Heartbeat Errors:
Heartbeat failed - invalid API key→ API Key is invalidHeartbeat failed: 401→ Authentication failedHeartbeat failed: 5xx→ Server problem
8. Common Problems & Solutions
Problem: WatchDog does not import files
Check if service is running:
services.msc→ WatchDogCheck logs: Settings → WatchDog → Logs Tab
Check folder permissions for WatchDog Service Account
Test API connection:
WatchDog.exe debugin CMDVerify file type is PDF
Problem: Export does not work
Export configuration exists with correct document type?
Document type matches between document and config?
XSLT Template linked (for folder export)?
Export folder writable by Service Account?
For Infor exports: ION credentials configured correctly?
Problem: Configuration is disabled
Folder path exists?
Permissions for
NT AUTHORITY\LOCAL SERVICEor Service Account?Network drive reachable? (Check UNC paths)
WatchDog will auto-reactivate when folders become available again
Problem: XSLT Transformation fails
XSLT Template is valid? (use XSLT Templates Tab → Validate)
Template fits document type?
Check XML structure of the document
V3 Folder Export uses server-side transformation — check API connectivity
Problem: REST API Export fails
ION OAuth credentials configured in export configuration?
Target API endpoint reachable from WatchDog server?
Check payload format matches target API expectations
Review request chain configuration for JSONPath errors
9. Command Line Commands
10. Log Files
Location: C:\WatchDog\logs\{module}\
Log Format:
Log Level: DEBUG, INFO, WARNING, ERROR
Remote Logs: WatchDog also sends logs to DocBits (viewable in Logs Tab) and optionally to Logtail cloud logging.
Last updated
Was this helpful?