You may see this error when configuring Intel® Stratix® 10 SoC devices using Intel® Quartus® Prime Programmer or quartus_pgm if the FPGA JTAG and HPS JTAG are chained. When chained internally, the HPS will appear at device index 1 and the FPGA will be at device index 2.
To avoid this error, ensure you target the appropriate device in the chain. Prior to programming. you can identify the device position in the JTAG chain by clicking on Auto-Detect in the Intel® Quartus® Prime Programmer GUI or running jtagconfig in the command line.