-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: unclean handling of SimpleFIN downtime #3763
Comments
full html returned by SimpleFIN:
|
Any idea what HTTP code they returned while in maintenance? If it returns a 200 with that body, then it might be harder to deal with. But if it used another code then we can easily detect and provide a custom message. |
the script didn't log that and I didn't think to add it. I've had to do this with other APIs though, it's as simple as checking the first character of the response text to make sure it's json and not html. parsing the html for the message is the harder part, but even just showing the title tag contents would be enough for most cases I think |
Verified issue does not already exist?
What happened?
Trying to sync banks and I get the error "This account is experiencing connection problems. Let’s fix it." Clicking that give the details "An internal error occurred. Try to login again, or get in touch for support." and the option to unlink the account. I didn't try it but i think this would also fail.
Using this test script https://gist.github.com/duplaja/4df7e47230566894b7ee2a7e45ac2f50 also errors, and the "pickle" file contains HTML with title tag "Temporary Maintenance - SimpleFIN Bridge" and a messages section stating "This website is undergoing temporary maintenance. Some functions are unavailable at this time."
Ideally, Actual would check the SimpleFIN return and show that message instead of offering to unlink.
Where are you hosting Actual?
Docker
What browsers are you seeing the problem on?
Chrome
Operating System
Windows 11
The text was updated successfully, but these errors were encountered: