# \[ST Schema\] - How to publish a new version of SmartThings Cloud Connector App

**URL:** <https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942>\
**Category:** Support\
**Created:** [October 12, 2021, 7:44am UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942 "2021-10-12T07:44:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![111199](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/111199/32/146027_2.png) [@111199](https://community.smartthings.com/u/111199)\
**Post date:** [October 12, 2021, 7:44am UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/1 "2021-10-12T07:44:45Z")

</div>

I want to publish a new version of the Schema Connector to integrate a third-party cloud-connected device with SmartThings.

Schema App is currently published.

I want to add another device and change the hosting url.

But when I try to edit it, it says ‘You cannot make changes to the app because this project is published’.

Also, when I try to click New request, the message ‘Cannot publish a project that has a device profile using the deprecated metadata service.’ is displayed.

Do I need to create a new project to modify the app?

If I need to create a new project, is there any way to make it available to users of my existing app when I publish the new project?

---

<div class="post-metadata">

**Author:** ![jkp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jkp/32/117130_2.png) [@jkp](https://community.smartthings.com/u/jkp)\
**Post date:** [October 12, 2021, 12:27pm UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/2 "2021-10-12T12:27:31Z")

</div>

Tagging @nayelyz @erickv

---

<div class="post-metadata">

**Author:** ![erickv](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/erickv/32/230792_2.png) [@erickv](https://community.smartthings.com/u/erickv)\
**Post date:** [October 12, 2021, 12:58pm UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/3 "2021-10-12T12:58:38Z")

</div>

Hey, @111199

Regarding the update on the registered URLs, you can apply this change through the [SmartThings CLI](https://github.com/SmartThingsCommunity/smartthings-cli). The following commands will be enough to update the references:

```bash
# collect the connector's info
smartthings schema <app_id> -j -o connector.json

# push update to API
smartthings schema:update <app_id> -i connector.json

```

And about the certification of your new device model, please send an email to [build@smartthings.com](mailto:build@smartthings.com) to escalate and follow up on this request properly.

---

<div class="post-metadata">

**Author:** ![111199](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/111199/32/146027_2.png) [@111199](https://community.smartthings.com/u/111199)\
**Post date:** [October 14, 2021, 6:16am UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/4 "2021-10-14T06:16:33Z")

</div>

hi @erickv

I tried schema:update using SmartThings CLI as you said, but it doesn’t work because it’s currently published.

The error contents are as follows.

Error: Request failed with status code 403: {“requestId”:“0DB6D4D0-14B0-47  
4F-A19B-26CD0C5C9EC6”,“error”:{“code”:“Forbidden”,“message”:“Updating  
endpointApp not allowed for certified endpointApps”}}

---

<div class="post-metadata">

**Author:** ![erickv](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/erickv/32/230792_2.png) [@erickv](https://community.smartthings.com/u/erickv)\
**Post date:** [October 14, 2021, 12:04pm UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/5 "2021-10-14T12:04:11Z")

</div>

@111199 hmm… really interesting

I’ll submit a report right away because if I recall correctly, a few weeks ago this was still possible… even for published connectors.

One last thing, how did you authenticate your _ST CLI_?

- Did you use a [personal access token](https://account.smartthings.com/tokens)?
- Or you triggered the built-in OAuth flow?

---

<div class="post-metadata">

**Author:** ![111199](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/111199/32/146027_2.png) [@111199](https://community.smartthings.com/u/111199)\
**Post date:** [October 15, 2021, 1:21am UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/6 "2021-10-15T01:21:49Z")

</div>

@erickv Thank you for caring me.

I triggered the built-in OAuth flow.

---

<div class="post-metadata">

**Author:** ![erickv](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/erickv/32/230792_2.png) [@erickv](https://community.smartthings.com/u/erickv)\
**Post date:** [October 15, 2021, 4:11pm UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/7 "2021-10-15T16:11:12Z")

</div>

Can you try the update command again, but passing a [personal access token](https://account.smartthings.com.tokens) instead? _i.e._:

```bash
smartthings schema:update -i connector.json -t <personal_access_token>

```

Let me know if you get the same error.

---

<div class="post-metadata">

**Author:** ![111199](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/111199/32/146027_2.png) [@111199](https://community.smartthings.com/u/111199)\
**Post date:** [October 21, 2021, 1:45am UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/8 "2021-10-21T01:45:03Z")

</div>

@erickv i got the same error.

Error: Request failed with status code 403: {“requestId”:“419FE85A-810E-44  
42-AFD2-2A5CA7E69617”,“error”:{“code”:“Forbidden”,“message”:“Updating  
endpointApp not allowed for certified endpointApps”}}

---

<div class="post-metadata">

**Author:** ![erickv](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/erickv/32/230792_2.png) [@erickv](https://community.smartthings.com/u/erickv)\
**Post date:** [October 21, 2021, 12:39pm UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/9 "2021-10-21T12:39:51Z")

</div>

@111199 Thanks for taking the time to test this out.

I’ll share the outcome with our team right away!

---

<div class="post-metadata">

**Author:** ![shk](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/shk/32/177858_2.png) [@shk](https://community.smartthings.com/u/shk)\
**Post date:** [April 27, 2023, 7:31pm UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/10 "2023-04-27T19:31:00Z")

</div>

I wonder how the results of this document ended.

We had to change the information on the cloud connector by relocating the server.

I saw a similar error.

{  
“requestId”: “393EDB45-C4C4-49BF-9F22-B0EAC064671A”,  
“error”: {  
“code”: “Forbidden”,  
“message”: “Updating cloud connector not allowed for certified cloud connectors”  
}  
}

We are looking for a document or an answer on how you solved this problem.

---

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [April 27, 2023, 7:39pm UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/11 "2023-04-27T19:39:19Z")

</div>

Hi, @shk,

Do you only need to change the URL for your Schema Connector?  
If so, please send the following info to [build@smartthings.com](mailto:build@smartthings.com):

- App ID. This is located in the Developer Workspace (eg. “viper\_xxx…”)
- Current URL
- New URL

---

<div class="post-metadata">

**Author:** ![shk](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/shk/32/177858_2.png) [@shk](https://community.smartthings.com/u/shk)\
**Post date:** [April 30, 2023, 2:35pm UTC](https://community.smartthings.com/t/st-schema-how-to-publish-a-new-version-of-smartthings-cloud-connector-app/232942/12 "2023-04-30T14:35:38Z")

</div>

You are right to understand. We just need to change our Schema Connector URL/URI. I will organize the information and send you an email soon. Thank you for your reply.
