When i try to upload file to google cloud bucket i'm receiving following error "Cannot use ACL API to set object policy when object policies are disabled" .Need help to solve this error.
As @Paul Benn mentioned providing as much information as you can about your issue is really helpful for us in order to be able to understand your situation.
But if I had to guess and from what I've been able to find out is that you are attempting to upload with ACL and have the bucket set to "Uniform" instead of "Fine-Grained".
The official documentation states this:
If you enable uniform bucket-level access, you revoke access from users who gain their access solely through object ACLs. Be sure that you read considerations when migrating an existing bucket prior to enabling uniform bucket-level access.
If you provide us with more information we will surely be able to help you more.