Skip to content
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

Can't create mssql_odbc Data Source #4802

Open
susodapop opened this issue Apr 14, 2020 · 2 comments
Open

Can't create mssql_odbc Data Source #4802

susodapop opened this issue Apr 14, 2020 · 2 comments

Comments

@susodapop
Copy link
Contributor

Issue Summary

An attempt to create an ODBC Microsoft SQL Server connection returns a HTTP 400 Bad Request error.

Steps to Reproduce

I use the API here to avoid any unintended connection tests.

curl --request POST \
  --url https://app.redash.io/<slug>/api/data_sources \
  --header 'authorization: Key <your api key>' \
  --data '{
	"name": "Test",
	"type": "mssql_odbc",
	"options": {
		"server": "server.example.com",
		"user": "user@server.example.com",
		"password": "password",
		"db": "example-db"
	}
}'

Returns:

{
  "message": "The browser (or proxy) sent a request that this server could not understand."
}

Checking Redash's logs it looks like an IntegrityError on line 155 of handlers/data_sources.py but I can't debug it past that.

Technical details:

  • Redash Version: v9 Alpha
  • Browser/OS: FF
  • How did you install Redash: SaaS / preview-instance
@OmarSultan85
Copy link

Where u ever able to get this to work?

@susodapop
Copy link
Contributor Author

I'm not able to reproduce this behavior anymore, actually. Seems to be working again normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants