Could not alter predicate: Error: unauthorized ip address:

When I tried to add an index to predict, reported the following error.

1 Like

Hi @tss.
Can you please verify whether you have whitelisted the IP from which you are making add index call.
Sample alpha command would be dgraph alpha --my=alpha:7080 --lru_mb=2048 --zero=zero:5080 --whitelist I request you to go through this documentation.

If the issue still persists, please help us with logs/steps to debug?

1 Like

Thank you!!! The problem has been solved. :grinning:

how to solve this problem?

The solution is this:

I have tried,but not work

@ezrealpan Looks like the format of the value passed to --whitelist has changed to a range and not a CIDR block. For example: --whitelist= would allow all IPs between and