#1 2021-03-04 19:24:46

dannysalazar90
Member
Registered: 2021-02-10

Error executing reports via the URL without logged ing

Hi and thanks for your help,

I'm trying to download a report with this URL:
http://{{IP}}/reportserver/reportserver/httpauthexport?id=10062&user=test.test&apiKey=79PKXGScP8r8&format=pdf&download=false

and I'm receiving the next error:
Screen-Shot-2021-03-04-at-2-14-47-PM.png


User properties:
Screen-Shot-2021-03-04-at-2-18-54-PM.png

Permissions of report:
Screen-Shot-2021-03-04-at-2-23-34-PM.png

Do I'm missing something?

Thanks!

DS

Offline

#2 2021-03-05 09:50:50

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error executing reports via the URL without logged ing

Hi dannysalazar90,

is test.test a valid username ?
what happens if you test while the user is logged in, does this work in this case ?

Regards,
Eduardo

Offline

#3 2021-03-06 20:50:23

dannysalazar90
Member
Registered: 2021-02-10

Re: Error executing reports via the URL without logged ing

Hi Eduardo,
thanks first for the quick response, yeah, the username is valid and as you mentioned, it works well when I'm logged in, that's the weird thing.

Im trying to give to the users a valid URL to download the report.

Thanks!

DS

Offline

#4 2021-03-08 14:38:46

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error executing reports via the URL without logged ing

Hi dannysalazar90,

you wrote "apiKey" in the user properties, it has to be "apikey", more details here: https://reportserver.net/en/guides/admi … a-the-URL/

Regards,
Eduardo

Offline

#5 2021-03-08 18:47:53

dannysalazar90
Member
Registered: 2021-02-10

Re: Error executing reports via the URL without logged ing

Great catch, thanks a lot for the extra eyes, you rock Eduardo! smile

it is working properly, cheers!

Offline

Board footer

Powered by FluxBB