When I looked at the database table for users I saw:
id | integer | | not null | nextval('users_id_seq'::regclass)
So I think if the importation script doesn’t follow the sequence or reset the sequence higher, then you could get a duplicate key and fail.
Hopefully the importation script you use respects the sequence and doesn’t insert into the database ‘blindly’.