throw useful error for non-remote endpoint injection