SAP Knowledge Base Article - Preview

3625890 - AZR: Downloading metadata for repository failed with status code: 400

Symptom

Repository update with DNF failed with downloading error "Status code: 400".

For example:

[2025-06-18 15:16:17.187] Jun  18 15:16:17 ABC123 systemd[1]: Starting dnf makecache...
[2025-06-18 15:16:17.187] Jun  18 15:16:17 ABC123 dnf[3538083]: Red Hat Enterprise Linux 8 for x86_64 - SAP Net 856  B/s | 215  B     00:00
[2025-06-18 15:16:17.187] Jun  18 15:16:17 ABC123 dnf[3538083]: Errors during downloading metadata for repository 'rhel-8-for-x86_64-sap-netweaver-e4s-rhui-rpms':
[2025-06-18 15:16:17.187] Jun  18 15:16:17 ABC123 dnf[3538083]:  - Status code: 400 for https://rhui4-1.microsoft.com/pulp/repos/content/e4s/rhel8/rhui/8.6/x86_64/sap/os/repodata/repomd.xml (IP: xx.xx.xxx.xx)
[2025-06-18 15:16:17.280] Jun  18 15:16:17 ABC123 dnf[3538083]: Error: Failed to download metadata for repo 'rhel-8-for-x86_64-sap-netweaver-e4s-rhui-rpms': Cannot download repomd.xml: Status code: 400 for https://rhui4-1.microsoft.com/pulp/repos/content/e4s/rhel8/rhui/8.6/x86_64/sap/os/repodata/repomd.xml (IP: xx.xx.xxx.xx)
[2025-06-18 15:16:17.280] Jun  18 15:16:17 ABC123 systemd[1]: dnf-makecache.service: Main process exited, code=exited, status=1/FAILURE
[2025-06-18 15:16:17.280] Jun  18 15:16:17 ABC123 systemd[1]: dnf-makecache.service: Failed with result 'exit-code'.
[2025-06-18 15:16:17.280] Jun  18 15:16:17 ABC123 systemd[1]: Failed to start dnf makecache.


Read more...

Environment

  • SAP S/4HANA
  • Red Hat Enterprise Linux
  • Microsoft Azure virtual machines (VMs)

Product

SAP S/4HANA 2022 ; SAP S/4HANA 2023

Keywords

dnf-makecache.service, Azure, repository, metadata, download, Status code: 400, PAYG, BYOS, Red Hat Cloud Access , KBA , BC-OP-LNX-AZR , Linux on Microsoft Azure , BC-OP-LNX-RH , Red Hat Linux , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.