I've had a look at what's sent to IceTV on a correct login, a login with an incorrect password and a login with an incorrect email address.
In no case does the Beyonwiz send region information. When the password is incorrect, the IceTV error message in the response is "Invalid password". When the email address is incorrect the error message in the response is "Region was missing from request". That's just plain wrong, because it's not the actual error, and a successful login doesn't require a region id to be sent.
Here's what a successful request looks like:
{
"device": {
"type_id": 30,
"uid": "xx:xx:xx:xx:xx:xx",
"label": "Beyonwiz T4"
},
"member": {
"password": "notReallyMyPasswordButItWas",
"email_address": "myRealEmailName@yahoo.com.au"
}
}
There's no need for a region id to log in successfully.
I think that the error message needs to be changed on the server side. It would also help if the IceTV API document had a specification of the "errors" entity. Then error messages could me made less messy. But without the server side change, the error message would still be misleading in this case.