tomermes
tomermes

Reputation: 23370

Cannot access firebase storage rules

I am getting an error of: Error loading rules: Requests from IP address ... are blocked. When trying to access security rules throguh the console. I tried from other computers and networks and it persists.

Upvotes: 0

Views: 527

Answers (1)

Mike McDonald
Mike McDonald

Reputation: 15963

A few thoughts:

  1. You live in a place where Firebase can't serve traffic (US has sanctions against T5+ countries, for instance)
  2. You have added API key restrictions that restrict what IPs you can access our APIs from (check in https://console.cloud.google.com/apis/credentials for your keys and see if they have IP restrictions)

You may be able to use the Firebase CLI to upload rules to your default bucket:

firebase init storage
open storage.rules             # edit with your favorite editor
firebase deploy --only storage

Upvotes: 1

Related Questions