How can I copy a local file to a bucket folder using "Upload Drive File?"

Hi all,
I’m trying to copy a local file to a GCP bucket file but I’m getting the same error AttributeError: ‘NoneType’ object has no attribute 'files’, follow my code:


Where variable ${bucket_full_address} is the GCP >> bucket >> folder (destination)

Can anyone help me?
Thanks a lot

Hi @lima.alexandre.fabio and welcome to the forum!
I may be completely wrong here, but there is also Init Drive method. Can you try that instead of Init Storage?

Hi Teppo,
Sorry for delay… but you’re correct, I was using a wrong method.

Thanks for your help!