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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Pouria
Regular Visitor

Error accessing data from Web but works with Postman!

hello Guys, 

this is my first time on this community and first question, so sorry if i dont know some ruls in here 🙂
I am trying to use this URL:

https://qualysapi.qualys.eu/api/2.0/fo/scan/?action=fetch&scan_ref=scan/1571065003.11385&output_form...
to get data from Qualys but  get this error:

PowerBI_Error.jpg

however the same command works in Postman!!!

I really need to get this data to PowerBI, these are scan results from Qualys.

do you have any idea maybe?

regards, 

Pouria 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Pouria ,

Could you please provide the related screenshot about the step <"Fetch" request>? By the way, did you also add the custom header "X-Requested-With" when connect to data source?

yingyinr_0-1622624410628.png

Best Regards

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Pouria ,

You can refer the content in the following threads to get it and check whether it can connect successfully:

How to Integrate Power BI with Qualys

Error accessing data from Web

yingyinr_0-1622171565042.png

Best Regards

hi yingyinr, 

 

thank s for your answer, Ive read and used that Doc. It works and I haved also transfered data from Qualys to PowerBi with that.

But almost everywher that I have a "Fetch" request it doesnt work. 

Do you have any Idea there?

 

regards, 

Pouria 

Anonymous
Not applicable

Hi @Pouria ,

Could you please provide the related screenshot about the step <"Fetch" request>? By the way, did you also add the custom header "X-Requested-With" when connect to data source?

yingyinr_0-1622624410628.png

Best Regards

hallo @Anonymous, 

sure, i can provide you with more details:

My powerBi Inputs are:

URL:
https://qualysapi.qualys.eu/api/2.0/fo/scan/?action=

fetch&scan_ref=scan/1621433037.28987&output_format=csv
headers:
Authorization > Basic bnR0Y20tcG06I05UVHNlYzEyMw==
X-Requested-With > Sample
which doesnt work.


However, the same input works in Postman:
URL:

curl -L -m 2 -X POST 'https://qualysapi.qualys.eu/api/2.0/fo/scan/' -H 'X-Requested-With: QualysPostman' -H 'Authorization: Basic bnR0Y20tcG06I05UVHNlYzEyMw==' -F 'action="fetch"' -F 'scan_ref="scan/1621433037.28987"' -F 'output_format="csv"'

(please see the attachment)

InputQualys.jpglast Error.jpgLast Error 2.jpg

  

Postman.jpg

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.