I was able to make it arrive here:
def render("413.json", _params) do
IO.puts('here')
%{
meta: %{status: 413, message: "Too large file"},
errors: nil,
data: nil
}
end
but at the end it still put out the empty 500 error
and it logs out this:
(Protocol.UndefinedError) protocol Phoenix.HTML.Safe not implemented for %{data: nil, errors: nil, meta: %{message: "Too large file", status: 413}}.
the same as with the 500 earlier






















