BCdiploma Knowledge BaseBCdiploma Knowledge Base
User guide
Technical guide
API
Terms and Data
  • English
  • Français
User guide
Technical guide
API
Terms and Data
  • English
  • Français
  • API

    • How to use BCdiploma API
    • Automate issuing process
    • Deletions and revocations
    • Update
    • Certificate Template Management
    • Learning Pathway Management
    • Download
    • Data Export
    • Miscellaneous APIs
    • Management of errors

Management of errors

Please note that this list is not exhaustive. If in doubt, feel free to reach out to support.

API return codes

On success, API calls return 200 (OK) or 201 (Created).

On error, API calls return a 4XX code, including:

  • 401 (Unauthorized): Authentication is missing or invalid
  • 403 (Forbidden): Operation not allowed
  • 400 (Bad Request): Malformed request

The API returns a JSON object containing a message that can be used for debugging purposes.

Specific error messages

en already present in data to certify

error 400: <code language> already present in data to certify

This error indicates that there are multiple occurrences of the language code "en" associated with the same technical data.

Prev
Miscellaneous APIs