Problem I recently ran into this error while implementing the first endpoint of my Phoenix JSON API. ** (Poison.EncodeError) unable to encode value: {:username, {"has already been taken", []}} After a bit of googling and detective work, I found the offending piece of code, located in my error_view.ex file. defrender("409.json",%{changeset: changeset})do%{status: "failure",errors: changeset.errors# this line causes the error}end This function handles rendering the JSON payload that the control...