No this will not cause any codes. I have replaced a few tanks for this problem. It will only be a tank problem if it only happens right after fill up. Try not filling tank above 3/4 for the next few times,if the problem does not happen again with tank only 3/4 full then you know.