Shortcode not rendering signed code

I’m using ajax to render a bricktemplate:

add_action('wp_ajax_refresh_content_get_div', function () {
   
   	echo do_shortcode('[bricks_template id="659"]');
      
    wp_die();
});

When using the shortcode on a page it renders fine. BUT, when I try to inject the template via the code above above, it renders except for 2 conditions.

  1. The shortcode for the template contains ‘code’ that is signed. The code does not get executed. Other elements are rendered.
  2. The css is not applied - not sure how to deal with that.

Any ideas?

Thanks.