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 reading Google Response or writing to custInfo.json #28

Closed
chriolant opened this issue Nov 19, 2019 · 3 comments
Closed

Error reading Google Response or writing to custInfo.json #28

chriolant opened this issue Nov 19, 2019 · 3 comments

Comments

@chriolant
Copy link

We tried using the gam create resoldcustomer command to create a new customer but it attempted to read/write to a seemingly undocumented custInfo.json file. Even if we pre-create the create the file in the same directory, it still causes an error:

Traceback (most recent call last):
File "gam.py", line 42810, in ProcessGAMCommand
File "gam.py", line 8901, in doCreateResoldCustomer
File "json/init.py", line 357, in loads
File "json/decoder.py", line 337, in decode
File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

My guess is that it fails to read the response from the Google API and thus, throws an exception. We tested this on Ubuntu 18.04 LTS on Python 3.6.8

@taers232c
Copy link
Owner

taers232c commented Nov 19, 2019 via email

@chriolant
Copy link
Author

Thanks! That was fast. Will download, test and revert.

@chriolant
Copy link
Author

Oops. You closed it before I could revert. Issue solved! Thank you.

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