'Failed to load resource: the server responded with a status of 404 (Not Found) for google clone react app

i integrated my react app with google search api from rapidapi.com,everything is working except the image result (nothing is shown in image result)and when checked the console of chrome its showing the following error : Failed to load resource: the server responded with a status of 404 (Not Found)

case '/images': return ( {results?.image_results?.map(({ image, link: { href, title } }, index) => ( {title}

))} );


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source