SmartThings Rest API using Tasker

What tasks are you running so I can check it on my side as well?

I first got the error on Get Location Mode. I removed the reference to JSON and it now works. It was failing on others if it has the reference to JSON in the Header section. Thx

The obvious comment is that you don’t need a Content-Type on a GET. Are the other failures also on GETs?

The SmartThings API isn’t going to be phased by a redundant Content-Type but I wonder if Tasker is doing something odd.

Yes, all the Gets I tested failed unless I removed the reference to JSON from the Header section in the Tasker task.

@Jake_Mohl Have you seen this…

It looks like unless you were grandfathered in with a PAT from prior to the new rules you’re unable to use a token for > 24 hours. This would need to be updated to use Oauth in order for it to work without having to generate a new token each day.

I’m looking into this.