Common Issues
Connection issues
Authentication fails when connecting Castor EDC
This usually means your Client ID or Client Secret was entered incorrectly. Copy them directly from your Castor EDC account settings to avoid typos. Also confirm that API access is enabled for your account — some Castor EDC plans require you to explicitly activate API access.
Connection succeeds but returns no data
Check that your start date is not set too far in the future. If the start date is ahead of when your records were created, the filter will return an empty result. Try setting an earlier date or clearing the field entirely.
Missing data
Audit trail data is incomplete or missing older records
The start date parameter filters audit records by timestamp. If you set a recent start date, older audit entries won't be included. To capture your full audit history, use the date picker to set the start date to the beginning of your study or organization's activity in Castor EDC.
Study visits or forms are missing for some studies
Castor EDC entities like study visits and forms are scoped to individual studies. If a study is archived, unpublished, or your API credentials don't have access to it, those records won't appear. Verify your user role has read access to all relevant studies in Castor EDC.
Study field dependencies or validations return empty results
These entities only contain data if your studies have conditional logic or validation rules configured. If you haven't set up dependencies or validations in Castor EDC, these entities will be empty by design.
Permission errors
API returns a 403 Forbidden error
Your API credentials may not have sufficient permissions. In Castor EDC, API access is tied to user roles — ensure the account associated with your Client ID has at least read-level access to the studies and entities you're trying to export.
Can only see some studies, not all
Access to individual studies in Castor EDC is controlled per user. If your account is only assigned to certain studies, the API will only return those. Contact your Castor EDC organization admin to request access to additional studies.
Data discrepancies
Study statistics don't match what I see in the Castor EDC dashboard
Statistics in Castor EDC may be calculated in real time from live data, while Coupler.io exports reflect a snapshot at the time of the last sync. Run the data flow again to get an up-to-date export. If numbers still differ, check whether filters (like site or date range) are applied in the Castor EDC dashboard but not in your export.
Rate limits
Sync fails or times out on large exports
Castor EDC's API enforces rate limits that can affect large exports, particularly for audit trails on long-running studies. Use the start date parameter to limit the volume of data pulled per run. If you're exporting audit trails for a multi-year study, consider splitting exports by setting different start dates across multiple data flows.
If you repeatedly hit rate limits, avoid running multiple Castor EDC data flows simultaneously. Stagger them so they don't compete for API quota.
Last updated
Was this helpful?
