Create your first automation in just a few minutes.Try Studio Web →
by Internal Labs
2
Solution
254
The script ws working till 2020. Moreover we recently upgraded the Orchestrator to 2021. And then it stopped working.
Below is the erroe message :
{"message":"Failed to read the request form. Form section has invalid Content-Disposition value: ","errorCode":0,"resourceIds":null}
Hi Hideaki,
If you are updating the script you can also explore the new option to publish in the Folder package feed. Right now I can't see the Folder option in your script.
Regards.
Hi Cristian,
Thanks for your feedback.
I will add the Folder option in the next release.
Best regards,
Hideaki
Hi Hideaki,
While running this script in power shell I am getting "The remote serverreturned an error: (400) Bad request" everytime .
Can anyone help me on this?
Thanks & regards,
Pravat
Hi Pravat,
Thank you for your feedback.
I'm aware of the issue that the current script doesn't work with the Cloud Orchestrator or v2020.10 on-prem Orchestrator.
I need some time to upload a newer version to pass the examination.
For the meantime, please modify the following lines in the script then try again.
#AS-IS
$beginBytes = [System.Text.Encoding]::UTF8.GetBytes("--${boundary}`nContent-Disposition: form-data; name=""uploads[]""; filename=""$pkgName""`r`nContent-Type: application/octet-stream`n`n")
$endBytes = [System.Text.Encoding]::UTF8.GetBytes("`n--${boundary}--`n")
#TO-BE
$beginBytes = [System.Text.Encoding]::UTF8.GetBytes("--${boundary}`r`nContent-Disposition: form-data; name=""uploads[]""; filename=""$pkgName""`r`nContent-Type: application/octet-stream`r`n`r`n")
$endBytes = [System.Text.Encoding]::UTF8.GetBytes("`r`n--${boundary}--`r`n")
Hi Hideaki,
Firstly thanks for the wonderful script.
The script worked perfectly for me it showed success and Done message.
However, when I refreshed my orchestrator page the uploaded new nuget package using script was not found.
Can anyone help me on this.
Hi, Hideaki,
Thank you for this script it's a life saver ! I have a small request. We generally use custom components in almost all of our engagements, hence we would like to have the ability to bulk upload libraries as well. Could you please add the 'POST /odata/Libraries/UiPath.Server.Configuration.OData.UploadPackage' call to this, should be quick and its a small change but will complete this script.
Thanks & Regards,
Nithin
Hi Nithin,
Thanks for your feedback. And sorry for being a late reply.
I will add the Library option in the next release.
Best regards,
Hideaki
Hi Hideaki! Can you add Active Directory Account credentials ability to use? Arigato!
Hi Kamil,
I have added Windows Authentication support to v1.0.1. Please use -windowsAuth $true option.
Hi Hideaki,
Will it work with Cloud Orchestrator also ?
Hi Lakshman,
I have added Cloud Orchetrator support to v1.0.1.
Technical
Version
1.0.1Updated
March 2, 2020Works with
Studio: 21.10 - 22.10
Certification
Silver Certified
Tags
Support
UiPath Community Support