#arnotixe-customer-search
1 messages · Page 1 of 1 (latest)
Let me have a look
okay I'm confused by your ask. I can't reproduce and also why the -name: null since you're explicitly looking for a specific name?
yeah that was just to be extra sure heh
OK I tested search with my own dev account now, and I think it may be the client is running and outdated version of the API… Cause it doesn't reproduce on my dev setup
there isn't really an "old version" here, Search is quite new and nothing has changed there
Don't think there's any way of querying the api of its version, right?
name returns null
(but only on client's setup with unknown API version. My working one is on version 2022-08-01 )
hum I can't repro and I tried
can you share the customer id cus_123 so that I can have a look?
yea for example cus_LqwfTyO8TzSD9z
huh I wonder if it's because it has a metadata key named name
Let me try and repro
hmmm no doesn't repro on my end with that
yea I tried messing about with that too, modifying the metadata name to see if it would actually match on that, but… it still returns entries with name= null
Maybe I'll try removing the metadata altogether
yeah you have to wait long enough as our indexing for the Search API isn't real time
but still I can't repro
ok here I took out the metadata from a customer and searched after a little while. Still comes back with name:null :puzzled_look: 😛
cus_LqvKoSQ17h7ADQ
Anyways, I'll try and add some extra checks to the backend, all I really try is to search and see if a customer with a matching name+mail already exists, and if so I'll stop the user from creating new customers 😄 totally doable 👍
yeah there's definitely something weird here. Will take me a while to debug but I'll flag internally if there's a bug at least
@half hearth can you search again with a different name? Like does it return?
yeah, trying different names it does return 0 hits and so on. Some weird caching issue maybe? 🤔
{
"data": [],
"has_more": false,
"next_page": null,
"url": "/v1/customers/search"
}```e
yeah it really feels like it