How to setup lakeflow HTTP for connector with M2M Authentication

gzr58l
New Contributor

I am getting the following error about content-type with no option to pick a different content-type when configuring the lakeflow connector

The OAuth token exchange failed with HTTP status code 415 Unsupported Media Type. The returned server response or exception message is: Map(hostName -> edbaa85c62a3, errors -> Map(), code -> Bad Request, entityType -> null, details -> Content-Type 'application/x-www-form-urlencoded;charset=UTF-8' is not supported

saurabh18cs
Honored Contributor III

Hi @gzr58l are you configuring a custom Lakeflow connector or external connection in Databricks? Also, consider using a service principal or personal access token (PAT) for authentication as a temporary workaround.