show Invalid Method error in same format as other API errors