401 Error on Web Request Button Power Automate
Hi All,
I'm starting to work with Sky Add-ins and am encountering a problem with initiating a web request trigger in power automate. When I set up the button with the encoded url from power automate I get a 401 request whenever I press it. Looking up the error it says that it could possibly be an outdated or wrong url… I tried to refresh the action and flow but nothing is working.
Looking at the documentation it doesn't tell me how to trouble shoot this! Thanks in advance for the help!
Comments
-
@David Kortes
try this to ensure your URL is build properly1 -
Unfortunately that didn't seem to do the trick. Here is the url it spit out and the error I'm getting when trying to activate.
I'm currently using the template provided by documentation just for testing purposes and in looking at other videos/ pictures it seems that my link from power automate may be missing something? There always seemed to be something after the api-version that is just not appearing for me.
1 -
@David Kortes
you are definitely missing pieces of URLfor example, mine looks like this:
https://prod-31.westus.logic.azure.com:443
/workflows
/bbbbbbbbbb0000000000bbbbbbbbbb00
/triggers/manual/paths/invoke
?api-version=2016-06-01
&sp=%2Ftriggers%2Fmanual%2Frun
&sv=1.0
&sig=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1 -
That is really strange… I don't know why that ending bit would be missing from my URL. Do you know of any settings that would change out the URL is generated?
I technically am still on the free trial of Power Automate… could that cause some issue?
1 -
@Alex Wong
I just figured it out… Apparently the trigger has been updated since documentation was created and the sample flow had the trigger set to “Any user in my tenant” instead of “Anyone." Once I changed the setting it worked right away. No video or picture had this setting present so that is how I missed it until now.2 -
@David Kortes
Yes for SKY Add-in to call the flow's URL properly, it has to be “anyone”.That's why you need to also use “validate user identify token” right after to make sure whoever “uses” the URL is a valid user of your org.
1
Categories
- All Categories
- 2 Blackbaud Community Help
- High Education Program Advisory Group (HE PAG)
- BBCRM PAG Discussions
- Luminate CRM DC Users Group
- DC Luminate CRM Users Group
- Luminate PAG
- 186 bbcon®
- 1.4K Blackbaud Altru®
- 389 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 14 donorCentrics®
- 355 Blackbaud eTapestry®
- 2.4K Blackbaud Financial Edge NXT®
- 616 Blackbaud Grantmaking™
- 542 Blackbaud Education Management Solutions for Higher Education
- 3.1K Blackbaud Education Management Solutions for K-12 Schools
- 909 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 207 JustGiving® from Blackbaud®
- 6.2K Blackbaud Raiser's Edge NXT®
- 3.5K SKY Developer
- 236 ResearchPoint™
- 116 Blackbaud Tuition Management™
- 160 Organizational Best Practices
- 232 The Tap (Just for Fun)
- 30 Blackbaud Community Challenges
- Blackbaud Consultant’s Community
- 18 PowerUp Challenges
- 3 Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 3 Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 71 Blackbaud Community All-Stars Discussions
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 743 Community News
- 2.8K Jobs Board
- Community Help Blogs
- 52 Blackbaud SKY® Reporting Announcements
- Blackbaud Consultant’s Community
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- Blackbaud Francophone Group
- Blackbaud Community™ Discussions
- Blackbaud Francophone Group