# AshAuthentication.Errors.AuthenticationFailed does not implement the AshPhoenix.FormData.Error protocol

**URL:** <https://forum.elixirforum.com/t/ashauthentication-errors-authenticationfailed-does-not-implement-the-ashphoenix-formdata-error-protocol/73054>\
**Category:** Questions\
**Tags:** ash, ash-authentication, ash-phoenix-form\
**Created:** [October 23, 2025, 10:20am UTC](https://forum.elixirforum.com/t/ashauthentication-errors-authenticationfailed-does-not-implement-the-ashphoenix-formdata-error-protocol/73054 "2025-10-23T10:20:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![FlyingNoodle](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/flyingnoodle/32/41030_2.png) [@FlyingNoodle](https://forum.elixirforum.com/u/FlyingNoodle)\
**Post date:** [October 23, 2025, 10:57am UTC](https://forum.elixirforum.com/t/ashauthentication-errors-authenticationfailed-does-not-implement-the-ashphoenix-formdata-error-protocol/73054/2 "2025-10-23T10:57:06Z")

</div>

1. You need the pass the `current_user` as actor.
2. You don’t need the call to validate since submit will validate your form anyway.
3. I assume you assign you form to the socket in some other callback. In that case you can just do: `AshPhoenix.Form.submit(socket.assigns.my_form_that_i_assigned, params: params, actor: current_user)`

---

_[View the full topic](https://forum.elixirforum.com/t/ashauthentication-errors-authenticationfailed-does-not-implement-the-ashphoenix-formdata-error-protocol/73054)._
