Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
joseanmarsol
New Member

Relative URL not working for a http connection in a copy data activity

Dear all,

when dealing with a simple data copy activity, I am having trouble to use the relative url in a http connection. 

 

I need to get the exchange rates data from the European Central Bank website, which they publish on a daily basis as xml and then put them in a blob storage.

 

The base url is: 

Then, they three different endpoints:

  1. "eurofxref-daily.xml"
  2. "eurofxref-hist-90d.xml"
  3. "eurofxref-hist.xml"

 

In case the first one does not work, I need to get the data from the second one and if that one does not work either, then the third one. Therefore, my idea was to iterate through a parametrized array of the different endpoints, until one is succesfull.

 

However, I was trying to check the connection just hardcoding the foirst endpoint as relative url, and it is not working:

 

joseanmarsol_0-1720611378695.png

 

joseanmarsol_1-1720611583660.png

 

The surprising part is, if I put the complete url (base + endpoint) in the http connection, it works:

 

joseanmarsol_2-1720611678877.png

joseanmarsol_3-1720611913686.png

 

 

 

 

4 REPLIES 4
spaceman1205
New Member

Hello @joseanmarsol 

I have the same problem and unfortunately no solution.

Are there any solutions?

Best regards

joseanmarsol
New Member

@v-kongfanf-msft , thanks for trying to help! I checked that and that is not the issue. I tried the combinations, with and without the / in both the base and relative URLs. Could you maybe try to replicate my scenario?

v-kongfanf-msft
Community Support
Community Support

Hi @joseanmarsol ,


Based on the information you provided in your description, you need to verify that the HTTP connection is set up correctly, to be precise: check that the combination of the base URL and the relative URL is correct. For example, make sure that the base URL ends with a / and that the relative URL does not begin with a /.

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Besides, per to the info message next to the Relative URL field:

joseanmarsol_0-1720693874372.png

 



Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.