Ensure success, error, and complete callbacks are called correctly