title: Cannot read properties of undefined (reading 'length') at _overpassJSON2geoJSON
body: <p>I'm trying to fetch data from openstreetmap using Fetch API in reactjs using the following code:</p>
  <pre><code>const url = 'https://www.openstreetmap.org/api/0.6/map';
  
  const getRequestData = async (values) =&gt; {
    await fetch(
      `${url}?bbox=${values.left},${values.bottom},${values.right},${values.top}`
    ).then((res) =&gt; osmtogeojson(res));
  };
  
  export default getRequestData;
  </code></pre>
  <p>I cannot figure out what is wrong here any help!.</p>