mitodl / edx2bigquery

Tool to convert & load data from edX platform into BigQuery
GNU General Public License v2.0
29 stars 29 forks source link

Error: No JSON object could be decoded #71

Open sibycharley opened 6 years ago

sibycharley commented 6 years ago

Hi All,

I was trying to run the edx2bigquery as per the instructions in the Readme file.

On executing the instruction edx2bigquery --year2 pearson_course, it seems to be erring in the function get_gcloud_oauth2_creds with the message "No JSON object could be decoded"

I tried debugging and could see that the credentials are correctly read from the database file, but on trying to load it using json.loads the error happens.

I am not an expert in this domain, so can someone please guide me on how to rectify this issue and get the data set.

Rg, Siby

msj121 commented 6 years ago

@sibycharley Perhaps can we see some of your config file? I was having some issues with this. I personally solved it by using a json I downloaded from google cloud of a service account.

I described it here: https://github.com/mitodl/edx2bigquery/issues/72