Kristian
Kristian

Reputation: 21840

Cognito standard attribute website not searchable

In the Cognito dashboard, there is a list of standard attributes that we are given to choose from: enter image description here

and in the docs, it says:

"You can only search for standard attributes. Custom attributes are not searchable. This is because only indexed attributes are searchable, and custom attributes cannot be indexed."

and when calling the API for ListUsers, filtering on "website", what I thought was a standard attribute, I get the following:

Cannot list users on the provided selector: website = "mywebsite.com"

Are these attributes not standard enough for this API call? or is my input just poorly formed?

Upvotes: 3

Views: 918

Answers (1)

Jeff Bailey
Jeff Bailey

Reputation: 5775

Standard attributes are the only ones that can be searched, but not all are indexed (searchable). The complete list is available here:

http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html

Upvotes: 3

Related Questions