Known issues

This page details known issues which affect a small subset of Codat companies.

For platform-wide issues, please see our status page.

Codat API

CompanyNotShardedException when querying data types [9239]

Summary:
Querying any data type for a customer when they have either not authorised your connection, or the first data sync for that data type has not completed, returns the following error or exception:

{
  "error":"CompanyNotShardedException: Company {companyId} has not been assigned to a shard yet.",
  ...
}

OR

{  
  "exception": "Company {companyId} has not been assigned a database shard yet".
  ...
}

Workaround:
Before querying data, make sure that the following are complete:

  • Authorisation flow for the linked company.
  • First data sync.

Last updated: 19-03-2020


Did this page help you?