Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
The resource `Example.Accounts.User` does not define an attribute named `:unique_email` - Ash Framework
AF
Ash Framework
โข
3y ago
โข
12 replies
random_wanderer
The resource `Example.Accounts.User` does not define an attribute named `:unique_email`
I
'm following the getting started guide for Ash Authentication
(
https://ash-hq.org/docs/guides/ash_authentication_phoenix/latest/tutorials/getting-started-with-ash-authentication-phoenix#reset-password
) and I
'm getting an error that the
:unique
_email atom isn
't defined
. It is defined as an identity though and the only departure I
've made from the guide is to set the x
.x
. dependencies
(
https://ash-hq.org/docs/guides/ash_authentication_phoenix/latest/tutorials/getting-started-with-ash-authentication-phoenix#application-dependencies
) as the latest versions
. Could there be some conflict with the different versions
?
Ash Framework
Join
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
2,193
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How do I make an attribute on a resource unique?
AF
Ash Framework / support
3y ago
Create a Unique Attribute
AF
Ash Framework / support
4y ago
Filtering by an embedded array attribute's resource value?
AF
Ash Framework / support
3mo ago
Unable to create a resource with an array attribute
AF
Ash Framework / support
8mo ago