Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
HT-ST5000: Error 12 "No such method"
-
I've been trying to build something using an HT-ST5000 as a test unit, but almost none of the commands in the documentation actually work.
Simple commands like getVolumeInformation returns an error 12.
In fact, the only commands I've gotten to work from the whole documentation are getPowerStatus and setPowerStatus.
Nothing else works.
@David Is the HT-ST5000 listed as supported by mistake?
-
I tried getMethodTypes as proposed elsewhere on this forum and get next to nothing.
"actSWUpdate"
"connectBluetoothDevice"
"getDeviceMiscSettings"
"getInterfaceInformation"
"getMethodTypes"
"getPowerSettings"
"getSWUpdateInfo"
"getSleepTimerSettings"
"getVersions"
"getWuTangInfo"
"setClientInfo"
"setDeviceMiscSettings"
"setPowerSettings"
"setSleepTimerSettings"
"setWuTangInfo"
"getPowerStatus"
"getSettingsTree"
"getStorageList"
"setPowerStatus"
"getSystemInformation" -
Please post your JSON and the URL that you are posting the JSON to. I'm guessing that you are sending the JSON to the wrong URL, i.e.
http://ip.number.to.device:10000/sony/{Lib}
where{Lib}
is one ofsystem
,audio
, oravContent
.Because error code 12 is "No Such Method".
getVolumeInformation
needs to be POSTed to the "audio" lib, i.e.http://ip.number.to.device:10000/sony/audio
.Also, try
getMethodTypes
on the "audio" lib as well as the "avContent" lib and you should see a lot more method types. It looks like you're querying the "system" lib. -
You are right, of course. I missed (skipped, probably) that part of the documentation.
Everything seems to work fine now.
Thanks a lot! Saved my weekend.
-
No worries.