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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ChSchroeck
New Member

Access to all response headers in Custom Connector

Hi

 

I'm connecting to an API that provides a pagination token (scroll-id) in the response header.

I need that ID to include in the next query to receive the next items.

 

The response header comes with various items.

query.PNG

However, when trying to read the header items it seems that the header only includes the "Content-Type" item

header.PNG

 

 

 

let    
    Source = Web.Contents(url, header),
    scrollid = Value.Metadata(Source)[Headers]
in
   scrollid

While in Fiddler I do see all other items as well.fiddler.PNG

 

 

I know it requires a custom connector to access all headers from other posts here, but I haven't found a solution how to actually acess all those header items.

 

Thanks for your help,

Chris

4 REPLIES 4
Raikoh
New Member

Hi Chris,

 

Did you get any help regarding this issue?

I am having exactly the same problem 😕

 

Thanks in advance

JoergBeck
Regular Visitor

Hi Guys,

did any of you resolve the issue in the meantime?

Best regards,
Jörg

Nope. I ended up giving up on customer connectors in general. It was easier to work with Amazon Lambda's instead.

rtaylor
Helper III
Helper III

Hi,

 

I'm wondering if you found a solution to this? I'm stuck at about the same spot, but for some reason I don't see any headers at all.

 

rtaylor_0-1596051800319.png

 

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.