Hi Craig.
I stumbled upon your post in search for the same answer.
In my case the problem was, that I setup the rest hook too late.
You may want to check out which hooks are running in your request. Something like this, perhaps: This function will log all hooks to your errorlog:
$debug_tags = array();
add_action( ‘all’, function ( $tag ) {
global $debug_tags;
if ( in_array( $tag, $debug_tags ) ) {
return;
}
error_log(“HOOK: $tag”);
$debug_tags[] = $tag;
} );
Hope it helps.