Skip to content

Black Duck Constraint Asking for large amount of paginated data #37

Description

First of all I must say that I am extremely happy for the feature of generating SPDX out of Black Duck!

Unfortunately I found an issue with our Black Duck instance.
We are using Black Duck SaaS solution in version 2023.4.2.

When calling this endpoint:

/api/projects/{projectId}/versions/{versionId}/components?limit=9999
headers:
Accept: application/vnd.blackducksoftware.bill-of-materials-6+json

The server is returning

{
    "logRef": "hub-webapp_uNCkTawW",
    "errorMessage": "Due to performance constraints, asking for large amounts of paginated data is not allowed",
    "arguments": {},
    "errorCode": "{core.rest.excessive_request}",
    "errors": [],
    "links": []
}

Skipping the limit parameter or reducing it significantly (<=1000) works.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions