Mapping reddit API using redux

Hi all, I’m the frontend final project creating a web rendering reddit posts. I have made the code and test it with a fake API generated from but when I paste reddit API, I’m not able to map data. not sure what I’m doing wrong anyone has experience with that? here my code

  1. createAsyncThunk

2. postList component

  1. postSlice feature

  1. error

here the error I receive. not sure what I need to change in order to map properly the reddit API

any suggestion? is there some settings to make before using reddit API? I couldn’t find this info on the net
thank you all

Your posts url won’t work. The .json can’t come after a slash.
instead of