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

Error with Fetch command #59

Open
z9maar opened this issue Apr 11, 2018 · 3 comments
Open

Error with Fetch command #59

z9maar opened this issue Apr 11, 2018 · 3 comments

Comments

@z9maar
Copy link

z9maar commented Apr 11, 2018

I'm getting this error when running the Fetch command:

pic1

As the message says, when I run the same command from CLI I get similar results, for example:

running the following command:

>force query "Select Id,DeveloperName,MasterLabel,Description From AuraDefinitionBundle" --format:json -t"

The first data I get is the following error:

pic2

I tweaked a little the command and I didn't get errors with the following one:
>force query --format json -t "Select Id,DeveloperName,MasterLabel,Description From AuraDefinitionBundle"

Clearly something changed recently in the platform, the CLI version I'm running is v0.24.0, and the platform we have is v40.0.

Can somebody help with this?

btw I took that command from:

p = popen_force_cli(["query", "Select Id,DeveloperName, "
"MasterLabel, Description From "
"AuraDefinitionBundle",
"--format:json", "-t"])

@snooopcatt
Copy link

+1 on that. it works if I move --format and -t before query. sounds easy fix

@AlvaroSevilla
Copy link

I have the same error.
How can I solve it?

@ClintRhea
Copy link

Same error here. Force.com CLI now expects the arguments first, without quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants