Skip to content

[Bug]: Error: response status code 401 - can't open './cx_result.md': No such file or directory #271

@alexivanov-danone

Description

@alexivanov-danone

Contact Details

No response

What happened?

For some reason, all of the sudden, while working with this action, we started receiving

Error: response status code 401
response status code 401
Creating PR decoration for scan ID: xxxxxxx
Error: Failed creating github PR Decoration: Failed to get scanID policy information
Failed creating github PR Decoration: Failed to get scanID policy information
Error: response status code 401
response status code 401
cat: can't open './cx_result.md': No such file or directory
rm: can't remove './cx_result.md': No such file or directory
Scan failed

Yesterday this was working fine

Version

2.3.24

Operating System & Version

Ubuntu 22.04

Specify Other OS Version

N/A

Relevant log output

Creating directory
2025/08/22 06:22:49 Temporary zip file path: /tmp/cx-59764038.zip
2025/08/22 06:22:49 Wait for scan to complete xxxxx Running
{"ID":"xxxxxx","ProjectID":"xxxxxxx","ProjectName":"xxxxxx/xxxxxx.platform-infrastructure","Status":"Running","CreatedAt":"2025-08-22T06:22:49.876387307Z","UpdatedAt":"2025-08-22T06:22:49.876387307Z","Branch":"feature/O20-xxx","Tags":{},"SastIncremental":"Full","Timeout":"NONE","Initiator":"service-account-onesource","Origin":"Github ","Engines":["","sast","kics","sca","apisec","containers"]}
2025/08/22 06:22:55 Scan status:  Running
2025/08/22 06:23:00 Scan status:  Running
2025/08/22 06:23:06 Scan status:  Running
2025/08/22 06:23:11 Scan status:  Running
2025/08/22 06:23:17 Scan status:  Running
2025/08/22 06:23:23 Scan status:  Running
2025/08/22 06:23:30 Scan status:  Running
2025/08/22 06:23:36 Scan status:  Running
2025/08/22 06:23:43 Scan status:  Running
2025/08/22 06:23:49 Scan status:  Running
2025/08/22 06:23:56 Scan Finished with status:  Completed
Error: response status code 401
response status code 401
Creating PR decoration for scan ID: xxxxx
Error: Failed creating github PR Decoration: Failed to get scanID policy information
Failed creating github PR Decoration: Failed to get scanID policy information
Error: response status code 401
response status code 401
cat: can't open './cx_result.md': No such file or directory
rm: can't remove './cx_result.md': No such file or directory
Scan failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions