Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • CDMS
  • Frequently Asked Questions
  • Troubleshooting

API troubleshooting: EDC/CDMS

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • CDMS
    Castor CDMS Manual Castor CDMS Calculations Manual Frequently Asked Questions Articles for Data Managers Castor CDMS Compliance Release Documents
  • eConsent
    Castor eConsent Manual Castor eConsent Compliance Release Documents
  • SMS
    Castor SMS Manual Castor SMS Compliance Release Documents
  • Castor Connect
    Castor Connect Compliance Release Documents Castor Connect Manual Castor Connect - Participant Quick Start Guide
  • Helpdesk
    News Other Resources Castor products knowledge resources
  • Status page
  • Completing a Study
+ More

Table of Contents

This article lists errors that you might receive when using the API, as well as potential causes and solutions. These will also be listed in the endpoints in the API documentation. Error 400 Bad request Error 403 Forbidden 404 Not found Error 422 Unprocessable Entity Error 500 Internal Server error Study not found

This article lists errors that you might receive when using the API, as well as potential causes and solutions. These will also be listed in the endpoints in the API documentation.

We recommend that you try the endpoints from our documentation page directly, so that you can check whether there is something going wrong in Castor EDC or in your code specifically.

  1. Navigate to the server on which your study is located: 

    SERVER LINK
    EU https://data.castoredc.com/api
    US us.castoredc.com/api
    EU uk.castoredc.com/api
    AU au.castoredc.com/api
  2. Click on the green Authorize button on the right. Authenticate with your user credentials that can be found in your account settings.

  3. Try out one of the endpoints. 

Error 400 Bad request

If you get this error with the endpoint

/study/{study_id}/export/data

Then this means that you have user roles in your study. It is not possible to use the endpoint if your account has a user role associated in the study. It is not possible to delete a user role from an account, so you will need to add a different account. Alternatively, you can contact us to request to delete the user role from your account in the study.

Error 403 Forbidden

Error 403 Forbidden means you don’t have the right access to the requested data. Practically speaking it can mean that:

  • Your user credentials are not correct

  • You don’t have the appropriate rights to access the particular study/institute/phase/step, etc. It is also possible that you are blinded to parts of the CRF.

  • One of the IDs is incorrect, leading to the system trying to access something that you don’t have access to (which probably also doesn’t exist). Note that the IDs should be uppercase (except for your own record IDs).

  • Your study is on a different server. Check if your url needs to be data.castoredc.com, uk.castoredc.com, us.castoredc.com, or au.castoredc.com.

404 Not found

This is a generic error that could mean that:

  • The record/report/anything that you're trying to access cannot be found. It is possible that it does not exist. Check if you have used the right uppercase IDs.

  • The path that you're using is not correct. Check your path with our API documentation. Also check for spelling mistakes or typos, such as double slashes.

Error 422 Unprocessable Entity

Error 422 Unprocessable Entity means that the request that you have tried to make is incorrect. The error message will contain information about what the issue may be. Please check if you are using the call properly and if you have filled in the parameters correctly. Note that field values should always be between quotation marks ("").

Error 500 Internal Server error

Error 500 Internal Server error could mean several things. One option is that the system times out because the amount of data that needs to be transferred is too large, in which case you can try to split up the request in smaller ones. If this is not the case, you can contact us and share your code with us, so that we can look into the issue. Please be careful NOT to share your user credentials (client ID and secret) with us!

Study not found

If your study is not found, then this can mean that:

  1. The wrong URL is provided in your request. Please check the location of your study and use the right URL.

  2. The wrong study ID is provided in your request. You can find the 'Castor Study ID' in the study settings.


Furthermore, kindly contemplate examining the API changelog for additional information regarding the recent updates.

  • API Changelog


cdms troubleshoot edc troubleshoot

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Calculation errors: EDC/CDMS
  • My study is not in the list - what happened? EDC/CDMS
  • How should I clear cookies and cache? EDC/CDMS
  • Can i check the operational status of castor products: EDC/CDMS
ISO 27001
FDA - 21 CFR part 11
ICH GCP compliant
HIPAA compliant
CDISC
ISO 9001
gdpr compliant

Products & Industries

  • Electronic Data Capture (EDC)
  • ePRO
  • eConsent
  • Decentralized Clinical Trials (DCT)
  • Clinical Data Management
  • Medical Device & Diagnostics
  • Biotech & Pharma
  • CROs
  • Academic Research

Resources

  • Thought Leadership
  • Blog
  • Castor Academy
  • Knowledge Base

 

Company

  • About Us
  • Careers
  • News
  • Contact Support
  • Contact Us

Legal & Compliance

  • Terms of Use
  • Privacy & Cookie Statement
  • Responsible Disclosure Policy
  • Good Clinical Practice (GCP)
  • ISO Compliance Certificates
  • GDPR & HIPAA Compliance
  • Security Statement

© 2022, Castor. All Rights Reserved.

Follow us on social media


Knowledge Base Software powered by Helpjuice

Definition by Author

0
0
Expand