If you have not saved your 16-character long authentication key, we will need to disable this security feature on your account.https://www.bitstamp.net/faq/two-factor-authentication-troubleshooting/
Assuming your time is correct and you're using the correct QR code image (i.e. when you import it the description should read username@Bitstamp) the 6 digit token should work.
I replicated your scenario and choose Authy instead of Google Authenticator (the token matched exactly on both devices) on my "new" device.I did use Ligntning QR as alternative to Google authenticatior and I get the same result. ( 6 character code is the same for GA as it is for Ligntning QR)
INVALID AUTHENTICATION CODE With Two-factor authentication, it is very important that the time on our server and your mobile device and the time within your Google Authenticator app are all in sync. Therefore, please try to re-sync Google Authenticator by going to Settings -> Time correction for codes -> Sync now, or if you use iOS please set Settings -> General -> Date & Time -> Set Automatically -> to On, then make sure your mobile device displays the correct time and try again.
time on our server
it is very important that the time on our server(1) and your mobile device(2)and the time within your Google Authenticator app(3)
internal authenticator clock was not adjusted because it appears to already be in sync with google servers
With Two-factor authentication, it is very important that the time on our server and your mobile device and the time within your Google Authenticator app are all in sync. Therefore, please try to re-sync Google Authenticator by going to Settings -> Time correction for codes -> Sync nowAs suggested better to seek support from bitstamp
When prompted to enter your 6-digit two factor code, simply click the "here" link below the code entry bar and follow the instructions. We will review your request and reply in the shortest time possiblehttps://www.bitstamp.net/faq/two-factor-authentication-troubleshooting/
Have bitstamp support advice instead?They were also saying ask for new QR.
If you restore in another phone, does it work?I have the same problem on the other two phones. And I don't know what is the problem.
I am asking these as in you try all such sync device and apps time, retry the authentication key as you copied it and I suspect if it is the account that has been locked out after multiple tries.If I did a mistake, then I will do it again next time.
Is it possible you disabled 2FA and re-enabled at a later date? If so the QR code would have changed, so ensure you're using the latest 2FA QR code.
Try restoring the QR code using Authy.
I replicated your scenario and choose Authy instead of Google Authenticator (the token matched exactly on both devices) on my "new" device.
If that fails you must follow the Bitstamp 2FA reset process @ https://www.bitstamp.net/a
In the future you might consider using Authy, as it backs up all your 2FA accounts and is accessible on your desktop as well as multiple devices.