I have a separate function MyAppWeb.GetConfigs for getting credentials from config which returns as:
%{ client_id: "key", client_secret: "secret" }
But when I pass the funtion to Dwolla.Token.get as:
Token.get(GetConfigs.get_cred())
This error is returned:
{:error, %Dwolla.Errors{code: nil, message: nil, errors: []}}