pokeapi icon indicating copy to clipboard operation
pokeapi copied to clipboard

Habitat issue

Open bfarcu opened this issue 2 months ago • 2 comments

Good Afternoon! I have been using the API in a project for my javaScript class here for a month or so (final project). Is not quite a bug per-say but suddenly this week all of the habitat data under specific Pokemon starting at Generation 4 on, from this sub-portion of the API (https://pokeapi.co/api/v2/pokemon-species/${pokeId}/) have come back 'null' to which at one point they were filled with the data.

Steps to Reproduce:

  1. Make a fetch call to https://pokeapi.co/api/v2/pokemon-species/${pokeId}/ (mind the pokeId, just my handle for the user data) for a Pokemon past Generation 3.
  2. Find the Habitat information in the JSON, reads as 'Null'

bfarcu avatar Nov 06 '25 21:11 bfarcu

I'll try to regenerate the data!

Naramsim avatar Nov 07 '25 08:11 Naramsim

Hi! Can you post an example of a previously working query?

I checked the actual CSV and we don't have habitat info for those species: https://github.com/PokeAPI/pokeapi/blame/master/data/v2/csv/pokemon_species.csv

Naramsim avatar Nov 07 '25 08:11 Naramsim