deviceDiscoveryPage() error 400 when trying to add Lutron Caseta smart dimmer

When I try to add a Lutron Caseta smart dimmer by clicking Add Device -> Lutron -> Switch/Dimmer in the ST app, I get the following error logs:

[error] java.lang.RuntimeException: Unexpected status code 400 from global /clients/null with status text @line 313 (deviceDiscoveryPage)
[debug] deviceDiscoveryPage()

It looks like the app is missing the URL to the Lutron login page, and failing as a result.

When I attempt to do this in ST Classic by clicking Add Device Manually -> Switches and Dimmers, Lutron isn’t even listed as an option. The last entry on the list is Leviton In-Wall 600W Dimmer, then the list stops.

The 4 Caseta smart dimmers work just fine through the Lutron app, which controls a Lutron bridge.

I have updated firmware, uninstalled and reinstalled both ST apps, factory reset my hub, waited weeks for this to resolve itself.

I’m running out of options to integrate ST and Lutron, yet it seems that few other people are having the same problems.

All help is greatly appreciated! Thanks!

I’m having the same issue, did you ever find a resolution to this issue?

The root cause was that my account was registered to APAC, and not the US. I went through the process to get that updated, which involved a bunch of emails and calls with different people, and they switched my locale, but it still didn’t work.

I reset my devices to factory settings and created a new account with a new email and everything worked fine. I would just do that. Good luck.

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.