I am afraid it’s not a bug. It’s just a design for ROS2 node there, and the thrown error message told us the reason.
Why don’t we use another node for creating the service client if we want to use spin_until_future_complete
inside a node’s callback?
Please refer to somebody source code,