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

CLI pull request unclear error #143

Open
theklr opened this issue Dec 19, 2024 · 4 comments
Open

CLI pull request unclear error #143

theklr opened this issue Dec 19, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@theklr
Copy link

theklr commented Dec 19, 2024

Current behavior:

running storyblok pull-components --space SPACE_ID
i get the error below without any info to rectify it.

Expected behavior:

I expect it to work or at least give an error that can lead me to resolving.

Steps to reproduce:
run storyblok pull-components --space SPACE_ID
see error below

Related code:

X An error ocurred in pull-components task when load components data
X An error occurred when executing the pull-components task: Error: [object Object]

Other information:

@theklr theklr added the bug Something isn't working label Dec 19, 2024
@m-shum
Copy link

m-shum commented Dec 20, 2024

Getting the same error for the same command.

@rogierv88
Copy link

Same here

@alvarosabu
Copy link
Contributor

Hi @theklr @m-shum @rogierv88 sorry that the error handling of the current CLI is not clear enough what the issue might be.

One workaround is to make sure you are login with a valid token, so logout login again.

If that doesn't work and the issue is still present, it might be related to a feature available on the product but not in the CLI.

I'm currently working on the refactoring of the CLI, which will include a more granular and familiar error handling. We should be in beta on Q1 for this command. Would you like to participate in the beta testing?

Let me know

@rogierv88
Copy link

Does seem to work when using a token to login. It does not work with username/password login.

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

4 participants