mysql 5.7 – The MASTER_LOG_FILE, MASTER_LOG_POS, RELAY_LOG_FILE, and RELAY_LOG_POS parameters can not be set when MASTER_AUTO_POSITION is active

Hello, I am trying to configure mysql 5.7 GTID replication when I try to reset

CHANGE MASTER TO MASTER_LOG_FILE = & # 39; mysql-bin.000001 & # 39 ;, MASTER_LOG_POS = 1;

getting the following error

ERROR 1776 (HY000): The MASTER_LOG_FILE, MASTER_LOG_POS, RELAY_LOG_FILE, and RELAY_LOG_POS parameters can not be set when MASTER_AUTO_POSITION is active.

How to reset the master file and the registration position.