
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PUT /drives/{drive-id}/items/{parent-id}:/{filename}:/content
*** When I have time, I will make a post where I will explain everything in detail

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PUT /drives/{drive-id}/items/{parent-id}:/{filename}:/content
*** When I have time, I will make a post where I will explain everything in detail

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thx you so much. I try your solution and it's working the only problem is there is not a time out...
