responds 400 on not a function