Anyone know why I’m getting this error when calling httpc.request/4?
01:25:47.202 [error] [libcluster:hiven_consul] request to Consul failed!: {:headers_error, :not_strings}
Here is the headers variable:
[{"authorization", "Bearer <stripped>"}]
code:
case :httpc.request(:get, {to_charlist(url), headers}, [], []) do