Hello All,
When I am trying to consume the AIF service: /sap/opu/odata4/aif/msgmonitoring_api/default/aif/messagehandling/0001/ (which is V4 service in the S/4Hana On premise system) in the CAPM project in BTP, I am getting an error:
reason: AxiosError: Error during request to remote service. Request failed with status code 401
Can you please help me how to fix the issue? I have provided all the steps/configurations followed below.
Note: When I try to access V2 service its working fine. I am facing this issue for AIF V4 service.
Error:

Logs:

mta.yaml:

Settings in Package.json:

Destination:

Code to consume OData service in CAPM:
