Notifications
Announcements
I am trying to setup a Power Automate Flow that uploads a document from SharePoint to the employee’s confidential folder from a form that is completed.
Everything but the uploading is not working, which is why I think its something with my setup that I’m missing. I’ve tried matching it to the HTTP request on the HTTP docs, but having no luck at all Upload a file to the employee's confidential folder. (hibob.com)
@alexw-shine Share more information to get a clear idea
1. your flow screenshot
2. HTTP action. Endpoint and parameters, request body you are passing
3. Error you are receiving from Power Automate when you ran it.
@LokeshBysani Flow Screenshot, HTTP 2 is the one that I am having issues with:
HTTP2 Screenshot with the my parameters:
Error I receive is a 400:
@alexw-shine unfortunately I cannot trigger this API from my machine. But after analysing the image your share and the documentation for API.
I see the content length header is missing in your request in power automate
One advise would be
1. Go to this website. https://apidocs.hibob.com/reference/post_docs-people-id-confidential-upload
2. provide the required details like ID, authorization, File you would like to upload .
3. Select HTTP code as below
4. In Power Automate under HTTP action provide the exact same information in body as you fetched form the step 3. For testing purpose dont pass anything dynamically.
5. Test it and if you see any error then share those details.
@LokeshBysani When doing that I am having the same issue displaying the 400 error
@alexw-shine did you manage to get this working? I'm trying to do exactly the same thing.
@plumpdj not yet, I've got Bob and Microsoft investigating
@alexw-shine I've managed to get it working. Thanks to this post. I used this in my http body:
{ "$content-type": "multipart/form-data", "$multipart": [ { "headers": { "content-disposition": "form-data; name=file; filename=Pleasework.pdf" }, "body": @{body('Get_file_content')} } ] }
@plumpdj Thanks so much, thats done the trick 🙂
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 525 Super User 2025 Season 2
Tomac 324 Moderator
abm abm 232 Most Valuable Professional