App metadata not searching in array fields

I have this structure on app_metadata field for one of my users
{ "serviceProviderNumbers": [ "23049" ] }
But when I try hit the endpoint with this query
https://vixxo-dev.auth0.com/api/v2/users?q=app_metadata.serviceProviderNumbers:23049&search_engine=v3 the json response body is an empty array

The documentation says that it is possible to search within root objects inside metadata fields

What am I missing??

:wave: @luisguerra I get the same results when I run that query, but when I run /api/v2/users?q=app_metadata.serviceProviderNumbers%3A%2223049%22&search_engine=v3 I am able to retrieve the user. Can you try including quotations, 23049 to "23049", and let me know if that works for you?

It works now :slight_smile: my guess is that it was fixed by [Feature Disruption] User Indexing Delays impacting Search API • Auth0 Status Page

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.