DELETE requests on the new Direct Message endpoints doesn't seem to work, as they are returning HTTP/1.1 401 Authorization Required with response {"errors":[{"code":32,"message":"Could not authenticate you."}]}.
I don't have any issues with DELETE account_activity/all/:env_name/webhooks/:webhook_id or other endpoints (including POST direct_messages/events/new with PR #202) .
I've tried passing the id into parameters, but it returns HTTP 401:
I've also tried adding the id into the url as query parameters, but then it returns me HTTP/1.1 400 Bad Request with response {"errors":[{"code":38,"message":"id parameter is missing."}]}. Apparently, the query parameters weren't passed at all since it was filtered out in prepare_url() method, so I made some adjustments to work around it, and it lead me back to HTTP 401 again :/
DELETE
requests on the new Direct Message endpoints doesn't seem to work, as they are returningHTTP/1.1 401 Authorization Required
with response{"errors":[{"code":32,"message":"Could not authenticate you."}]}
.I don't have any issues with
DELETE account_activity/all/:env_name/webhooks/:webhook_id
or other endpoints (includingPOST direct_messages/events/new
with PR #202) .I've tried passing the
id
into parameters, but it returns HTTP 401:I've also tried adding the
id
into the url as query parameters, but then it returns meHTTP/1.1 400 Bad Request
with response{"errors":[{"code":38,"message":"id parameter is missing."}]}
. Apparently, the query parameters weren't passed at all since it was filtered out inprepare_url()
method, so I made some adjustments to work around it, and it lead me back to HTTP 401 again :/Furthermore, the follow
PUT
request has the same issue as well (requires PR #202 and c9f0f477).Any help would be great.