Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catalyst toolbox ideascale import command misleading error #36

Open
dkijania opened this issue Aug 2, 2021 · 1 comment
Open

Catalyst toolbox ideascale import command misleading error #36

dkijania opened this issue Aug 2, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dkijania
Copy link
Contributor

dkijania commented Aug 2, 2021

When running catalyst-toolbox app with invalid token it produces an error:

"catalyst-toolbox.exe" "ideascale" "import" "--api-token" "9b978-8a3d-405c-8624-23612494f1af" "--tags" ".\ideascale\\fund5\\tags.json" "--chain-vote-type" "public" "--threshold" "450" "--output-dir" . "--fund" "5" "--fund-goal" "Create, fund and deliver the future of Cardano."
error decoding response body: invalid type: map, expected a sequence at line 1 column 0
  |-> invalid type: map, expected a sequence at line 1 column 0

While it should be more clear that the problem is with token

@dkijania dkijania added the bug Something isn't working label Aug 2, 2021
@dkijania dkijania self-assigned this Aug 2, 2021
@danielSanchezQ
Copy link
Contributor

Will try to match error code reported in the response to provide a better error message. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants