Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Custom Connector: Trigger not working

(0) ShareShare
ReportReport
Posted on by 5

Hi,

 

I created a custom connector but its generating a web-hook URL which is not working. I tested it through postman but its throwing error below

{
 "error": {
 "code": "DirectApiAuthorizationRequired",
 "message": "The request must be authenticated only by Shared Access scheme."
 }
}

 

URL generated

https://prod-17.southeastasia.logic.azure.com/workflows/d61ab61b88e14ba6a7918cd705021425/triggers/Inbound_SMS/versions/08586082302980018035/run?api-version=2016-06-01&sp=%2Ftriggers%2FInbound_SMS%2Fversions%2F08586082302980018035%2Frun%2C%2Ftriggers%2FInb

 

SWAGGER

{
 "swagger": "2.0",
 "info": {
 "title": "MYAPI",
 "description": "",
 "version": "1.0"
 },
 "host": "rest.myapi.com",
 "basePath": "/v3",
 "schemes": [
 "https"
 ],
 "consumes": [],
 "produces": [],
 "paths": {
 "/automations/sms/inbound": {
 "x-ms-notification-content": {
 "description": "SMSWebhookResponse"
 },
 "post": {
 "responses": {},
 "summary": "Inbound SMS",
 "description": "Inbound SMS",
 "operationId": "inbound_sms",
 "x-ms-visibility": "important",
 "x-ms-trigger": "single",
 "parameters": [
 {
 "name": "body",
 "in": "body",
 "required": true,
 "schema": {
 "type": "object",
 "properties": {
 "message_search_type": {
 "type": "integer",
 "format": "int32",
 "description": "message_search_type",
 "title": "",
 "x-ms-visibility": "internal",
 "default": 0
 },
 "message_search_term": {
 "type": "string",
 "description": "message_search_term",
 "title": "",
 "default": "*"
 },
 "action_address": {
 "type": "string",
 "description": "action_address",
 "title": "",
 "x-ms-visibility": "internal",
 "x-ms-notification-url": true
 },
 "dedicated_number": {
 "type": "string",
 "description": "dedicated_number",
 "title": "",
 "x-ms-visibility": "internal",
 "default": "*"
 },
 "rule_name": {
 "type": "string",
 "description": "rule_name",
 "title": "",
 "x-ms-visibility": "important"
 },
 "action": {
 "type": "string",
 "description": "action",
 "title": "",
 "default": "URL",
 "x-ms-visibility": "internal"
 },
 "enabled": {
 "type": "integer",
 "format": "int32",
 "description": "enabled",
 "title": "",
 "x-ms-visibility": "internal",
 "default": 1
 }
 },
 "required": [
 "dedicated_number",
 "enabled",
 "rule_name",
 "message_search_type",
 "message_search_term",
 "action",
 "action_address"
 ]
 }
 }
 ]
 }
 }
 },
 "definitions": {},
 "parameters": {},
 "responses": {},
 "securityDefinitions": {
 "basic_auth": {
 "type": "basic"
 }
 },
 "security": [
 {
 "basic_auth": []
 }
 ],
 "tags": []
}

 

 

I will really appreciate if someone can help me to resolve the issue

 

Thanks

Rizwan Mahfooz

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics