Log more API errors

Log API errors that occur instantly (ie. param validation).
Fix all simple thread apic alls