Try to manually test the failing URL in a browser or in Postman
Check the Brightspace documentation to understand how it handles different formats of extractID
. There could be specific guidelines or limitations when dealing with alphanumeric IDs.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I built a pipeline in Azure Synapse to download zip files through API OAUTH 2.0. I used Copy activity in a For each loop. Each zip file has its own unique download link (an unique extract ID is included in the URL).
An sample URL is like this: https://XXX.brightspace.com/d2l/api/lp/1.45/datasets/bds/SchemaID/plugins/PluginId/extracts/ExtractID
The issue I have is, the copy activity works fine when the extractID is made up of numbers, it fails when the extractID consists of letter.
For example, this download will succeed:
This will always fail:
Any advice is appreciated.
A screenshot of the pipeline
The error message:
Thanks,
Vikki
Try to manually test the failing URL in a browser or in Postman
Check the Brightspace documentation to understand how it handles different formats of extractID
. There could be specific guidelines or limitations when dealing with alphanumeric IDs.
Hi Cheng, Vikki ,
Welcome to Microsoft Q&A platform and thanks for posting your query here.
I understand that you are trying to download the zip file using ADF/Synapse pipelines using HTTP connector ( binary format) , however it's not working when the alphanumeric characters are present in URL but it's working fine when ID is numerical .
URL might have limitation to contain a specific set of characters, and if your ExtractID includes characters that are not allowed in a URL, you might need to encode them. Could you please try using header as
Content-Type
=application/x-www-form-urlencoded
and see if it works.
Please let us know how it goes. Thankyou