404 error code handling

@zsolt-nagy @thecil


I am having issue on the coinpaprika stage in the react course where would like to get the data from the API.

I have got following error:


My code can be found here: https://github.com/Riki0923/Simple-React-App

I have made some google and most of the time it was referred to writing the https url incorrectly but I don’t think that’s the case.

Can you help me out?

Thank you.

Apparently the problem is on the URL you are trying to reach:
const tickerUrl = 'https://api.coinpaprika.com/v1/tickers';

check that the url build it for your logic goes has https://api.coinpaprika.com/v1/tickersusdt for example. which is wrong, so maybe your URL must be rewritten like:
const tickerUrl = 'https://api.coinpaprika.com/v1/tickers/';

Carlos Z