When SmartThings went for sale in the UK, they added the first of what will be many “shards” to split the SmartThings Cloud workload into multiple, somewhat independent, clusters of servers.
SmartThings automatically replicates a lot of stuff between the shards when they deploy updates and so on, but if you are doing development and you Publish “For Me”, then you need to be sure to be logged into the correct shard, or your self-published SmartApp or custom Device Type Handler will not work. You won’t find it in the mobile App!
Eventually you may not need to know your shard. Eventually, SmartThings may make this process automatic and when you self-publish, it will go to the “right” shard without intervention.
The URL: https://account.smartthings.com should take you to your correct Shard automatically as of July 2017.
Old Method: Still works, just in case…
In the past, and maybe still now… you need to know your Shard! I also believe it is unlikely your shard will change / move unless you perhaps delete / add your Location and/or Account.
I don’t know the “official” way of determining your shard, but this process works for me…
Find our your shard using these steps:
Fully logout of the IDE.
Fill in your login when requested.
Your browser’s URL bar should automatically redirect to your individual shard:
If it still says “graph.api”, that’s NA01;
otherwise, the URL will include “-na02-”, “-eu01-”, or “-ap01-” or “-ap02-” in it.
NA03: ??? (presumed to exist; no confirmation at time of updating this post)
NA04: https://graph-na04-useast2.api.smartthings.com (discovered on May 11th, 2017)
AP01: https://graph-ap01… (discontinued)
AP02: https://graph-ap02-apnortheast2… (
not officially online yet, but [I’ve “heard” it is official, but who really knows???]. Customers in that Asia-Pacific geographic region, including Australia, using Samsung Logins may land here…)