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