add more helpful invalid api config errors