web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Custom connector throw...
Power Automate
Unanswered

Custom connector throwing schema validation failure

(0) ShareShare
ReportReport
Posted on by 1

Hello Guys,

 

I needed to build a custom flow for my customer, where the trigger was a "When a new channel message is added" and retrieve the message information with pictures to our system.

I'm used HTML to text node to filter all of the HTML tags and get the URL inside a [URL]

After that, I put the text inside an array with 

split(body('Html_to_text'), '[')
where I split the text from the left side of the URL.

There is a condition for me to check if there is any attachment, if not I'm checking for any graph.api URL inside the message because that indicated that the user did not attach the picture instead it used the mobile app media option or ctrl + V pasted inside the message.

 

This is how I check the text for the URL

contains(body('Html_to_text'),'https://graph.microsoft.com/')
If it contains any URL.
I'm going through with applying to each of the URLs (the array that I mentioned) and checking with another condition that these URLs are real graph.api URLs.
if I split the URL  with split(items('Apply_to_each_3'), ']')[0] and it is contains the HTTP
AND
this expression (contains(items('Apply_to_each_3'),'https://graph.microsoft.com/')) is equal to true.
Than we can append this URL to an array, where I collect them. (this is how I put the value inside the array: split(items('Apply_to_each_3'), ']')[0])
After that I'm going through all of the "real" URLs and this is where I'm using our custom connector to graph.api.
I'm only using URL's second part from the /beta
with split(items('Apply_to_each'), 'beta')[1]
 
This is where our customer experienced an error, meanwhile, I tested it tons of times and I was succeed for me.

I asked the customer to check the custom connector with the URL that threw the error, just to be sure that not the custom connector that was the problem and it returned with status code 200.

rpop_5-1704470619074.png

 

I also turned on the Concurrency control, because I read on the forum that it can be also a problem, but did not work out.

rpop_6-1704470712961.png

 

 

What am I missing?

 

Thank you for your help!

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard