Keys disappeared after logging out

Im playing on nintendo switch.
I redeemed three codes, logged in and went to the shift machine, collected all the keys and had 15. Then had to go for a bit so i logged off and found another code, redeemed it, so i should have 15 plus 5 in the shift machine right? Nope all 15 are gone and i only have 5 now. So i got kind of frustrated and logged off and now that im back on it says i have 0 keys!! Why did this happen to me and can i fix it???
I cant find anymore recent codes :frowning: