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

View all the Fabric Data Days sessions on demand. View schedule

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors