Debugging a statusCode: 500 error? - TanStack