Starting Json-Server error on db.json

Author: ghostCreated Mar 29, 2022Updated May 24, 2026

I am loading a json file from OpenWeatherMap:

{"coord":{"lon":-98.3253,"lat":26.2159},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"base":"stations","main":{"temp":301.14,"feels_like":302.93,"temp_min":299,"temp_max":302.02,"pressure":1004,"humidity":63},"visibility":10000,"wind":{"speed":13.38,"deg":150,"gust":18.52},"clouds":{"all":100},"dt":1648578062,"sys":{"type":2,"id":2004184,"country":"US","sunrise":1648556841,"sunset":1648601306},"timezone":-18000,"id":4711725,"name":"Mission","cod":200}

I get this message:

Error: Type of "base" (string) is not supported. Use objects or arrays of objects.

No matter which json file I try to run from OpenWeatherMap it fails.

The json data passes all of the online Validation tools.

I'm at a lost?