Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Nad_s
Contributor II

Upload file Sharepoint with Talend

Hi, i would like to upload some file on my sharepoint (onedrive).

I try to use a tFileFetch but i have an cookies problem for download or upload.

I find this topic who have exactly the same problem (https://community.talend.com/s/question/0D53p00007vCngbCAC/how-to-upload-a-file-on-microsoft-sharepo...), but i can apply he's solution (i don't have the job)

 

My error :

 

juin 02, 2022 3:55:48 PM org.apache.commons.httpclient.HttpMethodBase processResponseHeaders

AVERTISSEMENT: Cookie rejected: "$Version=0; esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-DtT1SVAPziOZ_zjy42mFBSVOggH1DSkQo1bsTTzDM9EcZDj12fsB-x139QHhrFo6vqzf0VoSjDQXXXXXXXXXXXXXXXXXXGhlsCk4cgNSo1g5edTki7497of8xp94PLI1t8c2EugBGKIoZp_l8D2qCVFnVpnAdTXM7P8aiGIVwnzHCiJhzI3kgAA; $Path=/; $Domain=.login.microsoftonline.com". Illegal domain attribute ".login.microsoftonline.com". Domain of origin: "login.microsoftonline.com"

[statistics] disconnected

 

Best regards,

Nad

Labels (4)
1 Solution

Accepted Solutions
InfoCraft
Creator

PUT /drives/{drive-id}/items/{parent-id}:/{filename}:/content

0695b00000RkE4HAAV.png0695b00000RkE4WAAV.png0695b00000RkE4lAAF.png0695b00000RkE55AAF.png*** When I have time, I will make a post where I will explain everything in detail

View solution in original post

3 Replies
ppatel
Contributor III

Hello,

 

Could you please have a look at it?

 

https://community.talend.com/s/feed/0D53p00007vCkqHCAS

https://community.talend.com/s/article/While-accessing-a-file-from-Sharepoint-the-tHttpRequest-component-fails-with-the-error-Request-failed-Forbidden-0oeoh

 

Also, can you confirm if this is the warning or not? If this is the warning then you can set the log4j=ERROR/FATAL/OFF.

 

Best regards

Pooja Patel

InfoCraft
Creator

PUT /drives/{drive-id}/items/{parent-id}:/{filename}:/content

0695b00000RkE4HAAV.png0695b00000RkE4WAAV.png0695b00000RkE4lAAF.png0695b00000RkE55AAF.png*** When I have time, I will make a post where I will explain everything in detail

Nad_s
Contributor II
Author

Thx you so much. I try your solution and it's working the only problem is there is not a time out...