Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Can't create object lifecycle rule

Hi all,

I am trying to delete all .json files in one of my buckets. I was able to do this successfully a few days ago (with all the PDF files in the bucket), by using 'Add object lifecycle rule'.

I was then able to 'Select an action' (delete files with .pdf suffix) and 'Select object conditions' (None), and click the 'Create' button. After a day, all the PDF files were gone.

I tried to do the same now to delete JSON files, but when I click 'Create' at the end, a message appears saying 'Unable to update lifecycle rules at this time. Try again or contact your administrator.' 

I have no idea why it wouldn't work this time. I am the administrator of the account but I'm not sure what else to try.

Thanks in advance!

0 1 201