Invalid request parameters

Please search for similar issues before creating a ticket.
All fields below are required.

Description

I’m receiving “Invalid request parameters” errors when using the bitrise step (https://github.com/codecov/codecov-bitrise/i). Using the bash script works fine. Is there a bug in the step?

Uploader

https://github.com/codecov/codecov-bitrise/i

Codecov Output


/ | | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / ` |/ _ / / _ \ \ / /
| |
| (
) | (
| | __/ (
| (
) \ V /
______/ _,|_|____/ _/
Bash-1.0.5
==> git version 2.31.1 found
==> curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
==> Bitrise CI detected.
project root: .
→ token set from env
Yaml not found, that’s ok! Learn more at About the Codecov yaml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
+ .
→ Found 6 reports
==> Detecting git/mercurial file structure
==> Reading reports


==> Appending adjustments
Fixing Reports
+ Found adjustments
==> Gzipping contents
96K /tmp/codecov.WVuoAM.gz
==> Uploading reports
url: https://codecov.io
query: branch=[branch]
→ Pinging Codecov
https://codecov.io/upload/v4?package=bitrise-step-1.0.5&token=&package=bitrise-step-1.0.5&token=[REDACTED]&branch=fix%2Fcodecov&commit=d25127e76e8e&build=453&build_url=&service=bitrise&flags=&pr=126&job=&cmd_args=Q,Z,C
Invalid request parameters
400

Expected Results

It should upload to codecov

Actual Results

I’m receiving an error

@gumil strange, it looks like it’s using the short-form of the commit SHA. Can you share the Codecov output of it working?