cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Data Hub: default.Read File: failed to stat 'xxx': Bad Request

RonaldKonijnenb
Contributor
0 Kudos

Hi,

I managed to create a ADL (Azure Data Lake) connection to Data Hub. Data profiling works fine but when I simply want to read a file in ADL, I always get a bad request error.

Any thoughts?

Vitaliy-R
Developer Advocate
Developer Advocate
0 Kudos

Hi Ronald. Have you tried running this with the Trace activated?

https://help.sap.com/doc/de49c012b53d476eae7af14497eac256/2.3.latest/en-US/591671120f6f4b1db87d050c2...

Sometimes the final error message displayed is from the last wrapper process, while the trace may contain error message from the nested processes.

Accepted Solutions (0)

Answers (3)

Answers (3)

marcus_schiffer
Active Participant
0 Kudos

Hi,

was this issue resolved ?

I tried the write file operator for ADL, but it gives me "Bad Request" all the time .

The connection however returns an ok on checking and all the files are visible in the connection explorer.

The flowagent file producer will not even deploy, it gives a docker error like:

Error starting graph with handle [02982c14a7094e2cbdc0e7231e324a11]: error building docker image. Docker daemon error: The command '/bin/sh -c apt-get update && apt-get install -yq --no-install-recommends dos2unix=7.3.4-3 libaio1=0.3.110-3 libnuma1=2.0.11-2.1 locales=2.24-11+deb9u3 libfilter-perl=1.57-1 libkeyutils1=1.5.9-9 libssl1.0.2 unixodbc-dev=2.3.4-1 unixodbc=2.3.4-1 odbcinst1debian2=2.3.4-1 && apt-get clean && rm -rf /var/lib/apt/lists/* && echo en_US.UTF-8 UTF-8 >> /etc/locale.gen && locale-gen && mkdir -p $LINK_DIR/bin && chmod +x $FLOW_AGENT_DIR/*.sh && sync && $FLOW_AGENT_DIR/configure.sh && ln -s $FLOW_AGENT_DIR/sapjvm $LINK_DIR/ext/jre && mkdir $LINK_DIR/lock && ln -s $FLOW_AGENT_DIR/hdbclient $HANA_CLIENT_DIR' returned a non-zero code: 100

Any help is appreciated !

RonaldKonijnenb
Contributor
0 Kudos

Hi,

Even after moving to 2.3 the issue is not fixed.

RonaldKonijnenb
Contributor
0 Kudos

2.3 indeed. Cool, I'm going to try that asap, tx!

0 Kudos

Sure, please update if that works.

BR, Mahesh

0 Kudos

Hi Roland,

May i know the Data Hub version you have configured ? Hoping it is 2.3.X.

Bad request error is about the unsuccessful connection to the source system. Ideally Read File operator supports ADLS, to establish a connection to ADL please could you try "Flowagent File Producer" operator.

configuration information is available here : https://help.sap.com/viewer/29ff74dc606c41acad117003f6034ac7/2.3.latest/en-US/76e9d5c257b646f9825b06...

BR, Mahesh