Skip to content
Importing json
Profile icon

I'm trying to import a json file which contains a key to access a specific Google Cloud Storage to create a bucket using the following:

import os

From my Pycharm IDE the code works perfectly but running my code in I keep getting:

Conflict: 409 POST<PROJECT_NAME>: Sorry, that name is not available. Please try a different one.

I'm assuming the file (key.json) wasn't properly loaded which is why I getting this error. Is there a way to bypass this issue in

Thanks in advance

You are viewing a single comment. View All
Profile icon

I was able to get it to work by providing the full file path like: