add theme_id query var to asset.retrieve. not sure why shopify even needs this being you are passing as part of path anyways.