Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Ken Nelson
2023-07-05T19:33:08Z
If I use this JSON I am receiving this error:
Exception in Task: Unhandled errors
Summary or Text is required.
Error getting HTTP response: The remote server returned an error: (400) Bad Request.

{
"@context": "https://schema.org/extensions",
"@type": "TextBlock",
"title": "Testing out team varibles",
"text": "{JOB(Active|Variable|NocAlertsTeamsBody)}"
}

If I change the text to this, it works fine:
"text": "Test data"


How exactly do I get a Job variable's contents to display correctly?

This is the same question as this post which was never answered:
https://www.visualcron.c....aspx?g=Posts&t=9538 
Quote fr


Sponsor
Forum information
bweston
2023-07-07T18:22:07Z
Is there any chance NocAlertsTeamsBody has any quotation marks or line breaks in it? That's the first thing that comes to mind.

Also, I think you might have linked the wrong thread. What I see at that link is certainly a related question, but nowhere near the same. The one you linked is about Visualcron seemingly sending information from the wrong job context but the notification still successfully reaching Teams. This looks like you're talking about a Teams Message task, not a notification, and the message not even being sent successfully.

If I've misunderstood, I apologize.
Scroll to Top