New Shopify Certification now available: Liquid Storefronts for Theme Developers

Unable to create Theme via Theme API REST

binhnguyen88
Visitor
3 0 0

Hi all,

I'm trying the API /admin/api/2021-07/themes.json with the POST method to create a new theme. My zip file URL is valid, the browser can download my file easily.

My params:

array(
            'theme' => array(
                'name' => 'My theme',
                'src' => 'https://xxx.com/my-file.zip',
                "role" => 'unpublished'
            )
        ))

I always receive the error response with the message: "execution expired". I only call one request so I think I did not reach the limit. Did anyone resolve this issue? Please help me. Thanks. 

Reply 1 (1)
binhnguyen88
Visitor
3 0 0

Is anyone here also facing this problem?