Hello, my org just installed nexusiq, so we’re really still getting. Some of our apps haven’t been built since we installed nexusiq, so only a handful currently have reports.
I was trying to use this info to perform a scan on an app, and I’m getting an error that I’ve had no luck googling. This is my current code and the output:
$appid = '#################'
$baseURL = 'https://nexusiq.myorg.com'
$credParam = @{
Credential = $myCred
Authentication = 'Basic'
}
$scanParam = @{
ContentType = 'application/json'
Method = 'Post'
body = @{
stageId = 'develop'
branchName = 'master'
} | ConvertTo-Json -Depth 4
}
Invoke-RestMethod @credParam -Uri "$baseURL/api/v2/evaluation/applications/$appid/sourceControlEvaluation" @scanParam -OutVariable status
Invoke-RestMethod @credParam -Uri "$baseURL/$($status[0].statusUrl)"
When I check the status of the call I see this result:
status reason
FAILED Internal Server Error (ID ed4f19d9c6ab4b9f)
Is that error ID a generic error code, or an ID need to track down in some other log source?
Alternately, is there a way to kick off a source code scan from within the webui?