Page 1 of 1

Event Subscription with LastRequestId "Unknown of badly structured command" Error

Posted: Wed Jan 08, 2020 2:21 am
by ctran360

I'm looking into the events subscription API, and attempting to make a GET request passing the lastRequestId ... trequestid.

However when I do this, the request fails.

For example:

Code: Select all

curl -H "BhRestToken: xxx"
Where 3 corresponds to the lastRequestId

The error is

Code: Select all

{"errorMessage":"Unknown or badly structured command: /event/subscription/E360Events/3.","errorMessageKey":"errors.badCommand"}
When I remove the lastRequestId from the URL, the request works. However I'd like to make GET requests from a particular request id.

Can you advise on the issue? Thanks!