Hi all,
I'm getting intermittent slack post message errors in my Flow. It doesn't give out much detail except saying "The response is not in a JSON format."
I actually suspect it might be something to do with character size or how many lines of text there are. As I reduced the text length to half and it posts successfully but when I bring it back to the normal full length it fails and throws that error. Note that before I post to slack message I strip the text of all HTML tags first.
Is there a character or line limit for slack messages? If so how many characters and is there anyway around it? The Slack API seems to say that if the length is too long it'll just truncate it or post it in separate messages but Flow is throwing a error....
Although the error does not seem very descriptive but i usually get this error while when there is something not configured correctly in the Action Properties, if you can paste screenshots of your flow ; i can try to simulate at my end.
Hi @Mira_Ghaly
Thank you for the reply!
So here's a simple flow that I used to try and recreate the error and I'm able to.
The configuration for the post message is quite simple. I've tested it with shorter messages and it posts to the slack channel fine.
I then grabbed a 15 paragraph Lorem Ipsum sample text as I obviously can't provide in the forum the actual text from the slack notification. Below is the full text if you want to use it and try to recreate the issue.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse consectetur diam ullamcorper lectus semper dapibus. Pellentesque et pretium augue, quis ultrices odio. Duis eu erat tellus. Ut feugiat ex in nisl dapibus gravida. Fusce et nunc efficitur, euismod ante et, vulputate erat. Donec augue purus, dictum et pretium nec, cursus ac lectus. Sed eget viverra magna. Duis tincidunt iaculis aliquet. Sed sed velit nec orci consequat aliquet.
Maecenas at erat pretium, pretium risus et, facilisis sem. Fusce vel risus sed dui pulvinar tincidunt et in ante. Nullam sit amet sem neque. Nulla suscipit mollis turpis, non posuere nisl vehicula vitae. Aliquam erat volutpat. Donec vel pretium est. Donec vulputate euismod iaculis. Sed purus urna, tincidunt sed tempor eget, congue ac leo. Proin nec accumsan nunc.
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Aenean commodo posuere scelerisque. Phasellus purus odio, condimentum et efficitur consectetur, hendrerit vitae dolor. Sed urna augue, finibus id est vehicula, imperdiet egestas turpis. Ut consectetur nulla vitae mauris ultricies, at porta magna auctor. Fusce non malesuada augue. Cras vitae dictum lacus. Proin in sollicitudin nunc, ac laoreet lectus. Quisque commodo odio eget leo blandit, vitae gravida neque gravida. Suspendisse a sapien maximus, dictum sem id, semper massa. Maecenas rutrum ac ligula sed hendrerit. Praesent finibus felis vitae elit congue, tristique varius elit feugiat. Ut viverra enim efficitur euismod dictum. Nullam suscipit eget eros id sollicitudin. Pellentesque vel nisi nisl. Mauris tellus purus, varius nec elit nec, iaculis varius leo.
Duis ac nisi eros. Cras arcu tortor, pharetra vel lectus quis, eleifend vehicula enim. Ut vulputate tempor ante in consectetur. Curabitur metus velit, consequat in tortor vel, aliquet rutrum erat. Nunc aliquam sodales iaculis. Pellentesque nec orci ac orci posuere hendrerit. Nulla bibendum posuere metus, ac malesuada ex venenatis consequat. Nulla ex tortor, auctor id enim at, pulvinar pretium purus.
Aliquam et venenatis nisl. Vestibulum eget felis malesuada, blandit libero eget, semper diam. Donec eu porttitor ipsum. Etiam molestie dui eu sem tristique mollis. Proin eget velit et sem efficitur dignissim. Etiam tempor diam lectus. Mauris facilisis lorem quis lacus condimentum, in eleifend augue tempus. Aliquam ante eros, convallis tempus vestibulum ac, lacinia in felis. Quisque feugiat neque erat, convallis rhoncus nulla ornare non. Aliquam erat volutpat. Etiam eu facilisis erat, vel scelerisque enim. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam eros risus, maximus sed vulputate in, vehicula non libero.
Curabitur vel dolor eget risus laoreet accumsan. Vestibulum aliquet in ex eget dictum. Pellentesque convallis ullamcorper velit quis eleifend. Curabitur ultrices magna non nisl laoreet, nec elementum arcu iaculis. Morbi pretium vitae magna a rutrum. Sed feugiat sollicitudin lectus sit amet scelerisque. Duis nec consequat nisl, non pulvinar turpis. Cras quis quam in lorem sodales convallis non sed tortor. Aliquam finibus rutrum tincidunt. Sed malesuada neque non pharetra porttitor. Suspendisse quis nisi sed urna imperdiet ullamcorper sit amet in diam. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Etiam aliquet dui vel erat tempor, at venenatis tellus porttitor. Quisque ac tincidunt lorem. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aenean tincidunt ac arcu in imperdiet.
Phasellus non nisl turpis. Nunc eu viverra velit. Aenean interdum eleifend placerat. Aenean lobortis, velit at molestie aliquam, massa lectus malesuada lacus, gravida malesuada elit dui a odio. Suspendisse in vestibulum nibh. Suspendisse dui neque, tristique sit amet mattis at, sodales vitae eros. Nullam ut aliquet ligula. Quisque accumsan, erat vel venenatis mattis, mauris nunc lobortis justo, ac vehicula enim nisl vel metus. Curabitur eget arcu nec lectus dapibus vulputate eu id sem. Maecenas ultricies quam odio, ornare euismod augue faucibus bibendum. Donec in laoreet lorem, a varius ex. Cras ac pretium magna. Phasellus sodales, odio a ullamcorper porta, urna sem imperdiet dui, at maximus velit orci a augue. Integer tincidunt purus vel aliquet sollicitudin.
Suspendisse potenti. Aenean pellentesque molestie orci, id bibendum ante porttitor dignissim. Quisque sodales, lectus id vehicula volutpat, mi justo rutrum leo, a posuere lectus ex a ligula. Quisque vulputate mollis orci, nec porta ligula dignissim ut. Ut at dolor non risus suscipit vestibulum. Quisque eu dignissim leo. Pellentesque hendrerit vitae felis tempor tempor. Aenean hendrerit lacinia vehicula. Proin tincidunt semper pellentesque. Mauris lacinia elit ac blandit consectetur. Nam lacinia facilisis vehicula. Quisque a arcu nec ante iaculis egestas. Aenean mattis eu est hendrerit lacinia. Maecenas eu sapien sit amet leo tristique scelerisque quis porta nisl. In hac habitasse platea dictumst. Aenean dapibus arcu tristique molestie ultricies.
In porttitor quis sem vestibulum pretium. Aenean neque nisi, aliquet vel sem blandit, accumsan ultricies lacus. Vivamus convallis dui ac porta tristique. Nam egestas accumsan odio, vitae tempor sapien dictum egestas. Nam sed feugiat purus. Nulla ut mauris sed orci posuere placerat. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam vel tempor est. Phasellus bibendum sed tellus sed dignissim.
Nullam ut bibendum lorem. Nam imperdiet sed sapien quis feugiat. Curabitur leo erat, tristique eget sagittis in, accumsan a leo. Nam eget ipsum lobortis, elementum neque non, porttitor orci. Proin eget purus sed dolor pharetra facilisis quis nec diam. Praesent sodales, ex in ornare congue, quam augue aliquam mauris, sit amet consequat diam neque a magna. Nunc varius orci non eros finibus vestibulum. Praesent nec massa id magna elementum placerat. Phasellus sit amet ex sit amet nibh consequat fermentum. Vivamus facilisis mattis enim, vel scelerisque elit laoreet sit amet. Donec sed efficitur ligula. Etiam interdum justo sed ullamcorper facilisis. Integer ut dictum nibh. Morbi non leo vel lectus commodo laoreet ut lobortis quam. Proin id dapibus lacus, non pellentesque erat.
Suspendisse ante metus, blandit nec diam at, gravida consectetur diam. Integer in tincidunt neque. Etiam pulvinar fermentum tellus, nec pulvinar ante eleifend sit amet. Aliquam sapien eros, sollicitudin eu auctor sit amet, tincidunt id tellus. Nam at urna sem. Praesent porta purus a urna fringilla gravida. In tempus sit amet nulla vitae tempus. Nam ut finibus ex, sed porttitor felis. Quisque mollis suscipit gravida. Etiam sed tempus diam. Etiam rhoncus sed erat sit amet viverra. Fusce vel finibus elit. Donec cursus at metus eget iaculis. Donec aliquam, enim vel lacinia feugiat, erat est aliquam nisi, ac tincidunt ipsum nisl a lectus.
Integer faucibus arcu quam, quis dignissim quam commodo at. Nulla maximus consequat lorem vitae aliquam. Cras dolor ex, luctus eu ex vitae, blandit pharetra augue. Nulla quis ex finibus, ullamcorper urna ac, aliquam elit. Mauris vitae lorem urna. Aliquam sit amet porttitor elit. Suspendisse eu lobortis turpis, eget commodo magna. In elit tellus, feugiat non tristique vitae, semper in mauris. In mattis nulla dui, sed ultricies magna semper at. Ut at rhoncus urna, at feugiat magna.
Donec sem eros, sagittis ut ultricies in, malesuada sed justo. Suspendisse tincidunt lacus at est porttitor feugiat. Donec quis volutpat justo, at commodo nulla. Nulla et faucibus augue, at sodales leo. Sed sit amet semper eros. Cras fermentum pulvinar ligula. Nunc fermentum blandit mollis. Sed a leo aliquet, ultricies nisi id, condimentum ante. Curabitur blandit mauris in vestibulum ullamcorper.
Proin sit amet orci sem. Phasellus id odio ac sem malesuada aliquet. Donec placerat, diam id tristique luctus, massa risus faucibus lorem, eget dignissim orci nunc quis velit. Duis semper dignissim leo ac luctus. Nulla elementum at mi vitae hendrerit. Proin rutrum augue sem, id elementum libero iaculis ac. In hac habitasse platea dictumst. Maecenas dictum, mi vitae molestie consequat, ligula ante fermentum lorem, id ultrices odio nunc sit amet dui. Duis diam purus, iaculis sit amet dapibus nec, egestas eget felis.
Etiam molestie lacinia ipsum. Duis blandit molestie diam eget consequat. Nam vitae ornare lectus, ullamcorper dictum eros. Vestibulum vitae eros quis odio scelerisque pretium. Nam viverra finibus nisl, aliquet imperdiet nisl dictum ac. Pellentesque quis turpis id lacus vehicula sagittis. Integer quam ligula, aliquet non tempus a, malesuada vel elit. Integer aliquet ipsum eu mauris vulputate, in efficitur felis lobortis. Etiam scelerisque consectetur quam non laoreet.
I'd then get that same unhelpful message. Again I suspect it's a length thing because If I just grab a snippet of that text it posts the message fine.
Question is whether there's a way to split the message into multiple posts I guess whilst ensuring not to split a text half way.
I believe it is like you said that the text is greater than the expected number of characters which i believe they are 4000
So you have to split as you have mentioned, i am trying to find out a way where you can split complete paragraphs
Hi @Mick282
I found a way to split by Paragraph but for you sample you will have to send 15 Posts will that be applicable; if yes will post the screenshots or share the sample flow with you.
Dear Community Members, We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd. During this period, members will not be able to Kudo, Comment, or Reply to any posts. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!
We are excited to announce the Summer of Solutions Challenge! This challenge is kicking off on Monday, June 17th and will run for (4) weeks. The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities. Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”) - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024 Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods. You must enter into each weekly Entry Period separately. How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different. Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers. At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing. Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner. A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random. Individuals will be contacted before the announcement with the opportunity to claim or deny the prize. Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners. Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event. ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE** Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24 17 @Anil_g 7 @ManishSolanki 13 @eetuRobo 5 @David_MA 10 @VishnuReddy1997 5 @SpongYe 9JhonatanOB19932 (tie) @Nived_Nambiar 8 @maltie 2 (tie) @PA-Noob 2 (tie) @LukeMcG 2 (tie) @tgut03 2 (tie) Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate @Deenuji 12@ManishSolanki 19 @Anil_g 10 @NathanAlvares24 17 @VishnuReddy1997 6 @Expiscornovus 10 @Tjan 5 @Nived_Nambiar 10 @eetuRobo 3 @SudeepGhatakNZ 8 Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22 Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2 Anil_g2 SharonS2
On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners. The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights. Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.
We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for. We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer. Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together. Here's to new beginnings and endless possibilities! If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport. To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages