Introducing the Chargebee CLI

Error: Record cannot be found

Problem Statement

This article helps you understand 'error: record cannot be found'.

Solution

Summary

This error is mostly experienced when you are in the process of migrating your existing gateway with new gateway credentials (i.e., the new gateway credentials are not linked to your Chargebee Live site).

For example, payments that were previously processed by gateway account 1 (old account) are now switched to gateway account 2 (new account), or the card details have moved from account 1 to account 2.

In other words, this error is thrown when the record Chargebee is looking up is not found on the configured gateway. This could be one of two scenarios:

  1. When the card details are not present/mapped in the newly connected gateway

  2. The connected gateway account does not have the card information (possibly in the process of migration)

Given the status of migration and conditions of this error, you can contact Chargebee's support to clarify.