How to correct the following error?


IntegrityError Traceback (most recent call last)
in
489
490 if name == ‘main’:
–> 491 main()

in main()
359 ACTOR_5 = (5, ‘fname5’, ‘lname5’, ‘male’)
360 # insert_ACTOR
–> 361 insert_ACTOR(conn, ACTOR_1)
362 insert_ACTOR(conn, ACTOR_2)
363 insert_ACTOR(conn, ACTOR_3)

in insert_ACTOR(conn, ACTOR)
43 VALUES(?,?,?,?) ‘’’
44 cur = conn.cursor()
—> 45 cur.execute(sql, ACTOR)
46 return cur.lastrowid
47

IntegrityError: UNIQUE constraint failed: ACTOR.aid