Go to Detail
Copy the name of the failed index and go to design – indices
Remove full name and keep only index name, query n search
Now in sub tab click on column.
Now you will know, by which column combination they have created primary key.
Then change your sql query
Once done make the failed task from failed to queued
Save it then restart again