DCS REST-API sa/securitygroups/{securityGroupId}/events returns 400 Bad Request
search cancel

DCS REST-API sa/securitygroups/{securityGroupId}/events returns 400 Bad Request

book

Article ID: 206803

calendar_today

Updated On:

Products

Data Center Security Server Advanced

Issue/Introduction

You have configured REST-API to collect recent events for the security group and you have generated the token but REST-API calls fails with HTTP error 400

 

<p><b>Message</b> Required Long parameter 'limit' is not present</p>
    <p><b>Description</b> The server cannot or will not process the request due to something that is perceived to be a
        client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

Environment

Release : 6.8 MP2

Component : REST-API

Cause

The issue can be related to the missing mandatory limit parameter

Resolution

Configure limit parameter in REST-API client with number of events you would like the call to return.