Open raj114 opened 4 years ago
took some code changes to get to the error here, but when I print out the body of the response I get "{:error, "Invalid content-type returned: text/plain, response: Basic authentication with passwords is deprecated. For more information, see: https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/\n"}"
replacing the env variable password with an API token fixed this for me.
when i was calling ExJira.Dashboard.all() this api it will gives me the below error - {:error, "Invalid content-type returned: text/plain"} i also change the %HTTPotion.Response{ body: body, headers: %{hdrs: %{"content-type" => "application/json;charset=UTF-8"}} } to %HTTPotion.Response{ body: body, headers: %{hdrs: %{"content-type" => "text/plain;charset=UTF-8"}} } in request.ex but it will not work . can you please help me to solve it ?