While adding a new database connection (tried for Postgres and Redshift both), clicking on 'Test Connection' gives Malformed JSON in the extras field: SyntaxError: Unexpected end of JSON input error.
The Extra field has
{
"metadata_params": {},
"engine_params": {},
"metadata_cache_timeout": {},
"schemas_allowed_for_csv_upload": []
}
And the Secure Extra field is empty. I also tried removing the JSON in the Extra field altogether but I still get this error.
The connection strings, I've tried are:
redshift+psycopg2://user:pass@host/dbname for Redshift and postgresql://user:pass@host:5432/dbname for Postgres
The connection should be tested successfully.
Clicking on 'Test Connection' gives Malformed JSON in the extras field: SyntaxError: Unexpected end of JSON input error.

(please complete the following information):
"0.999.0dev",Python 3.6.7v13.1.06.12.1Make sure these boxes are checked before submitting your issue - thank you!
I have copied the default JSON in the extras field and checked its validity, and it is a valid JSON.
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Hi @gamebusterz,
Thank you for taking the time to report this, I'm able to reproduce
Investigating cause and possible fix
@dpgaspar - I added #8630 to fix this issue.
Also, sorry...realize I missed this issue at first glance and created a new issue #8628 . I'll close my issue and update my PR to reference fixing this issue.
Getting the same error when trying to add a new presto database connection. It was working fine until last Tuesday. For some reason, I had to re-deploy my docker containers and then now I started seeing this error.

@bharath0208 are you using the latest version?
@gamebusterz I think it's fixed now I tried with the latest version and I don't see the error anymore