Wedvich/sbanken-ynab

Not able to change ynab token when putting in wrong token

Closed this issue · 6 comments

Not able to change ynab token when putting in wrong token

I put the wrong token and not its just stuck..tried re running the server..cant get passed the onboarding ynab screen..tried puttin in correct token but its just stuck. In developer console i can see the old token in the state even when i try the correct one

Oh, not good! Will check it out. As a workaround in the meantime, could you try clearing out the local data? localStorage.clear() (and sessionStorage.clear() if needed) should do the trick and let you restart the onboarding.

Can you describe where/what you were doing to get to that state? When I try to reproduce it with the latest version now (both locally and on https://sbanken-ynab.azurewebsites.net) I get this error message:
image

i put in the correct sbanken key, got to the next screen where i need to put in ynab key. I accidentally put in the wrong key her, not the correct one. I see in console in chrome that it cant connect..and its just stuck there..

Ooo sorry, I misread, I thought you were talking about the Sbanken screen! I'll add handling errors for Ynab as well.

This should be fixed now with edd271f, and you should get a similar error message to the Sbanken screen and the chance to retry. Could you try it to verify it's fixed? You might need to hard refresh the page since an older version could be cached.