TanStackT
TanStack2y ago
1 reply
developed-pink

Network response not matching react query data

Hello! I am making an api call and the network response I get from the api does not match the data that request query returns. For example, I make an api call to get a list of users for a vendor here is the response in post man:

Here is the that same response logged to the console from the react query data:
They do not match and I can not figure out why, the users array becomes undefined and incorrect
Was this page helpful?