Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Unable to create Theme via Theme API REST

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?