Hi Team,
While I am creating webhook on a folder, getting 400 Bad request exception.
This is my request body which I am passing along with request.
{
"target": {
"id": "124648447279",
"type": "folder"
},
"address": "http://localhost:8080/box/callback/webhooks",
"triggers": [
"FILE.UPLOADED"
]
}
And this is the response which I getting.
{
"type": "error",
"status": 400,
"code": "bad_request",
"context_info": {
"errors": [
{
"reason": "invalid_parameter",
"name": "address",
"message": "Invalid address specified."
}
]
},
"message": "Bad Request",
"request_id": "au5m8qgjx4h0ihb0"
}
We are using http://localhost:8080/ for the testing purpose here. Kindly let us know, what is the wrong with address parameter here, We will really appreciate if some one can help us on this.
Thanks
-Vivek