-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting 403 Forbidden when try to List Fans and Capabilities #3
Comments
Are you also passing the cookie? |
Hi, Dan
Originally the cookies is for httponly, I modified it to secure, but it still does not work.
sessionid=xxx; path=/; domain=.appbond.com; Secure; Expires=Sun, 27 Jan 2019 22:05:13 GMT;
do you see anything wrong?
Pakman
From: Dan Mandle [mailto:[email protected]]
Sent: Monday, January 14, 2019 6:32 AM
To: danmandle/bond
Cc: pakmanwg; Author
Subject: Re: [danmandle/bond] Getting 403 Forbidden when try to List Fans and Capabilities (#3)
Are you also passing the cookie?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#3 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AV84TLHt8dQ-qE2qwgL3-rTablG8xxlbks5vDJTcgaJpZM4Z9aqm> . <https://github.com/notifications/beacon/AV84TAzXE-_KLmsA6e0DHdHtIWl9yHF3ks5vDJTcgaJpZM4Z9aqm.gif>
|
Are you getting a 403 when using the Postman request as-is or when using them in a different setting? |
Hi dan
I am getting it in postman.
Pakman
…Sent from my iPhone
On Jan 14, 2019, at 10:09 AM, Dan Mandle ***@***.***> wrote:
Are you getting a 403 when using the Postman request as-is or when using them in a different setting?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I think you may be seeing a similar issue reported on issue #1 . Seems like the API structure is different for some users. How many devices do you have connected to your Bond? |
Hi dan
I only has one device ( fan with light). But #1 is returning 200, instead of 403. I can send you my device list when I get home.
Pakman
…Sent from my iPhone
On Jan 14, 2019, at 12:21 PM, Dan Mandle ***@***.***> wrote:
I think you may be seeing a similar issue reported on issue #1 . Seems like the API structure is different for some users. How many devices do you have connected to your Bond?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
The user in #1 was getting the list of capabilities when calling the GET Hubs endpoint. For me, the |
Hi Dan
Yes, it looks like I have similar issues with #1, we both have issues with get the list of capabilities. Here is my bond hubs return
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "BH31111",
"owner": 21185,
"commands": [
{
"id": 2243167,
"command_type": "Light Toggle",
"location_type": "Master Bedroom",
"device_type": "Fan",
"device_property_id": "2",
"device_property_command_id": "15",
"bond": "BH31111",
"device": 186705
},
{
"id": 2243166,
"command_type": "Power Toggle",
"location_type": "Master Bedroom",
"device_type": "Fan",
"device_property_id": "1",
"device_property_command_id": "13",
"bond": "BH31111",
"device": 186705
},
{
"id": 2243165,
"command_type": "Speed 3",
"location_type": "Master Bedroom",
"device_type": "Fan",
"device_property_id": "1",
"device_property_command_id": "9",
"bond": "BH31111",
"device": 186705
},
{
"id": 2243164,
"command_type": "Speed 2",
"location_type": "Master Bedroom",
"device_type": "Fan",
"device_property_id": "1",
"device_property_command_id": "7",
"bond": "BH31111",
"device": 186705
},
{
"id": 2243163,
"command_type": "Speed 1",
"location_type": "Master Bedroom",
"device_type": "Fan",
"device_property_id": "1",
"device_property_command_id": "5",
"bond": "BH31111",
"device": 186705
}
]
}
]
}
Pakman
From: Dan Mandle [mailto:[email protected]]
Sent: Monday, January 14, 2019 2:10 PM
To: danmandle/bond
Cc: pakmanwg; Author
Subject: Re: [danmandle/bond] Getting 403 Forbidden when try to List Fans and Capabilities (#3)
The user in #1 <#1> was getting the list of capabilities when calling the GET Hubs endpoint. For me, the results array is empty, but for him it listed all of the capabilities of all of the fans in the results array.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#3 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AV84TMPmY5jcsvB1jP4kF2zaFONcQRU8ks5vDQBLgaJpZM4Z9aqm> . <https://github.com/notifications/beacon/AV84TBR4vIbdfW7fUkw6Q18WCwiT0QQLks5vDQBLgaJpZM4Z9aqm.gif>
|
Hi,
I am getting this 403 errors during List Fans and Capabilities. I am using Bearer Token as the authorization type. Not sure why it is not working! Any suggestion?
The text was updated successfully, but these errors were encountered: