Skip to content

[Error] HTTP 500 Internal Server Error when using fcli fod issue update command #899

@vincent-deng

Description

@vincent-deng

Current Behavior

When executing the fcli fod issue update command to update a vulnerability's auditor status, the command returns an HTTP 500 Internal Server Error with no response body from the FoD API.Command executed:

`fcli fod issue update --release 1665629 --user vdeng --vuln-ids e93ea046-8ec8-4e4a-bae2-b695e9642f22 --auditor-status NotAnIssue


**Error received:**

com.fortify.cli.common.rest.unirest.UnexpectedHttpResponseException:
Request: POST https://api.ams.fortify.com/api/v3/releases/1665629/vulnerabilities/bulk-edit:
Reason: HTTP 500 Internal Server Error
Body: `

The command fails to update the vulnerability auditor status and returns a 500 error from the FoD API endpoint.

Expected Behavior

The command should successfully update the vulnerability's auditor status to "NotAnIssue" and return a confirmation of the update without errors. The FoD API should process the bulk-edit request and return a successful response (HTTP 200/201).

Steps To Reproduce

  1. Authenticate with FoD using fcli fod session login
  2. Execute the following command:
    fcli fod issue update --release 1665629 --user vdeng --vuln-ids e93ea046-8ec8-4e4a-bae2-b695e9642f22 --auditor-status NotAnIssue --log-level=DEBUG --log-file=fcli.log
  3. Observe the HTTP 500 error response

fcli.log

Environment

OS: Windows 11
FoD: ams.fortify.com
fcli: 3.14.2

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingeffort:lowEasy to implement/fixfcli-fodIssue related to 'fcli fod' commands

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions