return 400 on unexpected action plan query