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

Query properties leads to KeyError-Exception #27

Closed
jalmeroth opened this issue Oct 18, 2019 · 3 comments
Closed

Query properties leads to KeyError-Exception #27

jalmeroth opened this issue Oct 18, 2019 · 3 comments

Comments

@jalmeroth
Copy link

I tried to query the following, which perfectly works in API-Explorer, but leads to a KeyError-Exception in GAMADV-XTD3:

./gam user john.doe@acme.com show filelist fields id,properties query "properties has { key='CloudMigrator-Version' and value='3.15.5.0' }"
Getting all Drive Files/Folders that match query ('me' in owners and properties has { key='CloudMigrator-Version' and value='3.15.5.0' }) for john.doe@acme.com
Traceback (most recent call last):
  File "gam.py", line 41948, in ProcessGAMCommand
  File "gam.py", line 31631, in printFileList
  File "gam.py", line 3566, in _processGAPIpagesResult
KeyError: " key='CloudMigrator-Version' and value='3"
@taers232c
Copy link
Owner

taers232c commented Oct 18, 2019 via email

@taers232c
Copy link
Owner

() now work in 4.95.11

Test and report.

Thanks,

Ross

@jalmeroth
Copy link
Author

Using () leads to an Invalid query, but {} seems to work now.

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

2 participants