Skip to content

Troubleshooting

Victor Kaiuki edited this page Jun 16, 2026 · 1 revision

Troubleshooting

  • 0 rows: Market names are ALL CAPS in the API. SDK market() helper handles this automatically, but if using where() raw, uppercase your search string.
  • 400 Bad Request: Field name mismatch. Use fields.py constants.
  • 403 Forbidden: Rate limit. Use COTClient(app_token="...").
  • Classification Error: Wrong helper method for dataset type.
  • Missing columns: TFF has fewer columns than Legacy/Disaggregated. Check dataset type.

Clone this wiki locally