ldubrois opened a new issue, #3778:
URL: https://github.com/apache/hertzbeat/issues/3778

   ### Is there an existing issue for this?
   
   - [x] I have searched the existing issues
   
   ### Current Behavior
   
   I want to push an alert through a notification webhook.
   
   I use Microsoft Flows webhook url like that: 
   
   
https://default83781ccceezsa69b2bb58aebc1.f6.environment.api.powerplatform.com/powerautomate/automations/direct/workflows/160bf5e83835sdffsdfg88b0516917c5d430/triggers/manual/paths/invoke/hertzbeat?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=UejZsrJyaZwwAm_jArn7Ze0PIfbdfgE4FTXUBvLDY
   
   Hertzbeat seems to invoke the URL without the querystring, and therefore the 
call is denied.
   
   How can I make Hertzbeat to invoke the complete URL.
   
   ### Expected Behavior
   
   The URL should be used entirely, and not just the 'page' url without the 
querystring
   
   ### Steps To Reproduce
   
   Creates a notification webhook with an URL with a querystring. 
   
   The call is made without the querystring.
   
   ### Environment
   
   ```markdown
   HertzBeat version(s): 1.7.3
   ```
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   [WebHook Notify Error] 401 on POST request for 
"https://default83sdf69b2bb58aebc1.f6.environment.api.powerplatform.com/powerautomate/automations/direct/workflows/160bf5e83835428788b0516sdf30/triggers/manual/paths/invoke/hertzbeat":
 "{"error":{"code":"AuthorizationFailed","message":"You do not have permissions 
to perform action 'run' on scope '/triggers/manual/paths/invoke/'. Verify you 
are making the request with the appropriate HTTP method. See 
http://aka.ms/logic-trigger for details."}}"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to