How to get my register taxonomy

get_terms first and only parameter should be an array. docs

get_terms([
    'taxonomy' => 'king_blog_category',
    'hide_empty' => 0,
    'parent' => 0
]);

error code: 523