Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search only shows some of the cars at a dealership #105

Open
ADeeds opened this issue Sep 7, 2023 · 1 comment
Open

Search only shows some of the cars at a dealership #105

ADeeds opened this issue Sep 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ADeeds
Copy link

ADeeds commented Sep 7, 2023

Describe the bug
It looks like in some cases the search is only showing a subset of the relevant cars at a dealership.

The EV Finder Version and Debug Information:

<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
</Error>

To Reproduce
Steps to reproduce the behavior:

  1. Go to 2023 Ioniq 5, Zip code 90241 Distance 5 miles (link)
    When I hit search, 2 vehicles show up.

Expected behavior

A dealer in this zip code currently shows 25 Ioniq 5s in stock, so I'd expect to see ~25 vehicles. These cars do show up via the VIN api (example), so maybe it's an issue on the car company's end? Just from eyeballing the VIN api responses, I noticed that a cars that shows up in the search results has a plannedDeliveryDate field and a car that is missing from the search results doesn't have that field.

Device and Web Browser:
Firefox desktop

Additional context
I think the debug page is borked

@ADeeds ADeeds added the bug Something isn't working label Sep 7, 2023
@Ben-Chapman
Copy link
Owner

Hey @ADeeds, thanks for the report and this is an interesting situation.

The EV Finder uses the hyundaiusa.com inventory API, which is what allows for searching across the country. In this case, a hyundaiusa.com inventory search also shows only two vehicles for that specific dealer. So the EV Finder is working as intended.

I do see some API response differences between the vehicles which appear in the Hyundai inventory response as compared to the Downey Hyundai response, and like you mentioned plannedDeliveryDate is one of the missing fields.

I unfortunately have no idea why these vehicles are not appearing in the main Hyundai inventory system (my guess is some human or data input error), but there's nothing I can do about it.

And thanks for the note on the debug page - I'll get that fixed up :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants