api returns 400 on basic type validation stuff