He tells Artoo near the end of TFA that he “must get [his] proper arm reinstalled” and the last time you see him (as the Falcon flies away at the end), he has his gold arm again. No continuity error, but it’s very subtle.
Yeah, not a continuity error, just a stupid toy-selling tactic.