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?
Regarding the update on the registered URLs, you can apply this change through the SmartThings CLI. The following commands will be enough to update the references:
# 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 to escalate and follow up on this request properly.
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”}}
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”}}
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.