>./manage.py backup_website Creating backup file /tmp/tmpb4ogg37x Backing up database Copying backup to Google Drive Traceback (most recent call last): File "/home/azrael/kylie/env/lib/python3.8/site-packages/google_client/drive.py", line 176, in create_file_body google_file = self.google_execute_retry(self.service.files().create(body=body, media_body=media_body)) File "/home/azrael/kylie/env/lib/python3.8/site-packages/google_client/service.py", line 35, in google_execute_retry return api_command.execute() File "/home/azrael/kylie/env/lib/python3.8/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper return wrapped(*args, **kwargs) File "/home/azrael/kylie/env/lib/python3.8/site-packages/googleapiclient/http.py", line 902, in execute _, body = self.next_chunk(http=http, num_retries=num_retries) File "/home/azrael/kylie/env/lib/python3.8/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper return wrapped(*args, **kwargs) File "/home/azrael/kylie/env/lib/python3.8/site-packages/googleapiclient/http.py", line 1022, in next_chunk raise ResumableUploadError(resp, content) googleapiclient.errors.ResumableUploadError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./manage.py", line 29, in main() File "./manage.py", line 25, in main raise e File "./manage.py", line 22, in main execute_from_command_line(sys.argv) File "/home/azrael/kylie/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() File "/home/azrael/kylie/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/azrael/kylie/env/lib/python3.8/site-packages/django/core/management/base.py", line 412, in run_from_argv self.execute(*args, **cmd_options) File "/home/azrael/kylie/env/lib/python3.8/site-packages/django/core/management/base.py", line 458, in execute output = self.handle(*args, **options) File "/home/azrael/kylie/env/lib/python3.8/site-packages/gdrive_backup/management/commands/backup_website.py", line 50, in handle Backup(logger=Logger()).backup_db_and_folders(all_schemas=options['all_schemas'], schema=options['schema'], File "/home/azrael/kylie/env/lib/python3.8/site-packages/gdrive_backup/backup.py", line 40, in backup_db_and_folders db.backup_db_gdrive() File "/home/azrael/kylie/env/lib/python3.8/site-packages/gdrive_backup/backup_db.py", line 57, in backup_db_gdrive google_file = self.drive.create_file_stream(filename, self.base_backup_dir, compressed_file, File "/home/azrael/kylie/env/lib/python3.8/site-packages/google_client/drive.py", line 192, in create_file_stream return self.create_file_body(body, data_stream) File "/home/azrael/kylie/env/lib/python3.8/site-packages/google_client/drive.py", line 178, in create_file_body self.service = self.get_service_account() File "/home/azrael/kylie/env/lib/python3.8/site-packages/google_client/service.py", line 19, in get_service_account json_credentials = json.loads(self.credentials) File "/usr/lib/python3.8/json/__init__.py", line 341, in loads raise TypeError(f'the JSON object must be str, bytes or bytearray, ' TypeError: the JSON object must be str, bytes or bytearray, not Credentials