Home > OS >  RTK Query with AppSync returns status "rejected"
RTK Query with AppSync returns status "rejected"

Time:06-24

I'm developing a react app using RTK Query & AppSync (graphQL). I tried a query request as follows, but always the redux status is "rejected" saying "Cannot read properties of undefined (reading 'filter')" (Please check a pic below).

It seems the request itself is successfully done (200), so I guess it is due to the geaphQL client.

Redux Toolkit without RTK Query works as expected.

  • Related