WordPress Template not getting my Sub-Header File

You are following a wrong format to call sub header file.

Here is how we have to call sub header files:

<?php get_header('subexample'); ?>

Here is how you have to name the sub header file:

header-subexample.php

Hope this helps!

error code: 523