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 / adding hyperlinks to a...
Power Automate
Unanswered

adding hyperlinks to adaptive card message

(0) ShareShare
ReportReport
Posted on by

Hi all, 

 

I am trying to add a hyperlink to a text and tested the following following textBlock:
"type": "TextBlock", "text": "Check out [Adaptive Cards](https://adaptivecards.io)"

 

However, the error (below) is shown when I test the flow.  I noted that I use version 1.2 {"type": "AdaptiveCard","version": "1.2",, while the example here  uses version 1.0.  Is this error related?

I am new to json, so all advice/ help is very appreciated. 

Error:
Microsoft.Azure.ProcessSimple.Data.Entities.Exceptions.ProcessSimpleDataException: The specified Teams flowbot adaptive card request is missing or invalid. The tracking Id is '{0}'. ---> Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: :. Path 'body[4].text', line 68, position 26.
at Newtonsoft.Json.JsonTextReader.ParsePostValue(Boolean ignoreComments)
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions) in X:\bt\1119575\repo\src\processsimple\Roles\ProcessSimple.Data\Components\AdaptiveCards\AdaptiveCardBuilder.cs:line 477
--- End of inner exception stack trace ---
at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions) in X:\bt\1119575\repo\src\processsimple\Roles\ProcessSimple.Data\Components\AdaptiveCards\AdaptiveCardBuilder.cs:line 496
at Microsoft.Azure.ProcessSimple.Web.Common.Validation.BotAdaptiveCard(String card, RequestIdentity senderRequestIdentity) in X:\bt\1119575\repo\src\processsimple\Roles\ProcessSimple.Web\Common\Validation\BotValidation.cs:line 585

Categories:
I have the same question (0)
  • mcin9781 Profile Picture
    on at
    Hello the below articles mentions that you may need to use version 1.0 as that is what Power Automate supports at this time.  Please mark this as the accepted solution if it helps solve your issue. 
     
  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    @mcin9781 , thank you!

     

    I managed to fix the problem by addingthe textblock  { "type": "TextBlock", "text": "Check out [Adaptive Cards](https://adaptivecards.io)" } in the Card Paylod Editor on https://adaptivecards.io/designer/ .

  • brentrice Profile Picture
    2 on at

    I was hunting for a solution to this problem for a long time. I was utilizing SharePoint List Item attachments and could not get the URLs to display in an Adaptive Card. This solution worked, but I needed to also bracket the absoluteURI with a replace function to replace all spaces with %20. After that, worked perfect!

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard