stack icon indicating copy to clipboard operation
stack copied to clipboard

[Payments] Confusing error message when adding a payment connector when not logged-in

Open Shiroy opened this issue 2 years ago • 0 comments

Hello,

I tried to add Stripe connection to my payment instance using fctl.

 $ fctl payments connectors install stripe --confirm sk_test_[...]

I received the following error message:

ERROR   Command aborted as you didn't approve.

It turned out that I wasn't logged-in to the cloud sandbox.

I would expect a more explicit error message, such as:

$ fctl ledger list
  ERROR   Your authentication is invalid, please login :)

Version used:

$ fctl version
Version | 0.11.6
Date    | 2023-08-21T14:45:22Z
Commit  | 78099465

Shiroy avatar Aug 25 '23 10:08 Shiroy