Virtual Switch Creation: Access Denied

HI All,

I have created many virtual switches to do various things (about 19 of them). Creating the 20th one and getting this message:

Any ideas whats happening? Never had a problem before although I did just rebuild my PC and its been about 6 months since I made a virtual switch.

It MAY be related to a browser cookie. Try it with a private/incognito windows.

1 Like

Just use the smart app in the marketplace


“Virtual device creator” can be found in the marketplace under smartapps -> More section. It provides ui to create virtual switch or virtual dimmer switch.

1 Like

I’ve tried ‘Virtual Switch Creator’ but don’t understand how you individually get rid of its created virtual switches without deleting all of the switches that it has created - along with the app itself. I know that I can use IDE to delete individual switches, but they remain listed within the app.

If you go into the things list and choose the device, there is a remove button available on the bottom of the settings page.


You are correct! I knew about that option (device remove button) but I didn’t believe that using it would also remove the switch from the apps listing of virtual switches it created too. But, your message made me test it - and it does! So, thanks!


Why would I use a third party app to do this when the functionality to create a virtual switch is right there in the out of the box SmartThings GUI?

I tried using this app before I knew it could be done as standard out of the box and it cause me a world of pain. Basically didn’t work at all.

1 Like

It’s not really hard to do it in the IDE but I believe that the advantages of this app are

  • it runs from your phone so you don’t need to fire up the web-based GUI.
  • It’s probably a little bit quicker
  • It keeps track of the switches and dimmers it creates

What did you have issues with?

I managed to get the out of the box ST interface to do it by using incognito mode.

I still don’t see why anyone would use that app to do this when it takes only 30 seconds to create the virtual switch in ST interface.

I name all my vSwitches with a number on the end so I always keep track.

Can’t remember exactly what wasn’t working. Just a whole bunch of errors. I followed the guide exactly. Many times.

All I do remember is losing a weeks worth of evenings and weekends trying to get that app to work only to find out that the app was pointless as it could be done out of the box. The time taken to read the install guide, get the bits and pieces, install them takes about as long as it would take me to create 30 vSwitches.

Wasn’t happy but at least I got vSwitches working so it meant that I could basically control any webcore routine with Alexa. My unhappiness was cancelled out by the victory but its still a bit of a soar spot.

It isn’t third party. This is a new app published by SmartThings that came out a couple months ago that creates them and also uses the new device type that runs locally. I haven’t tried to delete any yet, so can’t speak to the issue @lflorack is referring to.

I believe that this app was written by SmartThings only abut a month or so ago because they introduced the new ‘Virtual Switch’ capability that runs locally. So, perhaps your issues were with a different app?

1 Like

After some testing due to a response from @TonyFleisher, I no longer have any issues with this app. You can delete the created virtual switches directly from its device entry in SmartThings.

1 Like

I was having the Access Denied issue as well after being able to manually create a virtual switch from the IDE. I used Incognito mode and it worked so it must indeed be related to a cookie…

My Alexa app on my phone just will not list my virtual switch to use in a Routine. I have created the switch several different ways including using the IDE, Alexa Helper (on my phone), Virtual Device Creator (on my phone) and the Alexa app. I am trying to create a virtual switch to control two bedside lamps. Those lamps have a Smart Life plug on both of them. I can control those lamps in several ways. That is not the issue. What I want is a virtual switch that will be listed in the Device section when creating a new Routine in the Alexa app. I want to create a tile in ActionTiles that will use that virtual switch to control those lamps as a group. Any suggestions?

Use a virtual motion or contact