{tocify} $title={Table of Contents}
Error/Issue:
Issue is around queue based triggered Logic App, found that few of the instances are getting triggered successfully but many were not.
Result was - messages in the queue were piling up.
As trigger was not happening, checked the trigger history and found below error
- InvalidClientTrackingId
- The 'clientTrackingId' value is not valid. The value cannot be null or all whitespace characters.
Why it happened
The error is related to trigger and error points to clientTrackingId, so checked in the Trigger Settings
CorrelationId is used for Tracking Id and the trigger was failing because in some of the messages in queue , CorrelationId was missing (null).
Some of the logic apps which were pushing data to this queue were not setting correlationId .
What to do
The queue receives messages from multiple Logic Apps, so searched for logic apps which were not including correlationID property while inserting message in queue.
And added new parameter "Correlation Id" and provided value against it in the logic apps(clients) where it was missing
In my case it was correlation Id, but if you are using some other property for TrackingId then make sure you are passing it while inserting message in queue.
If you have questions or suggestions, feel free to do in comments section below !!!
Do share if you find this helpful .......
Knowledge Sharing is Caring !!!!!!
Learn More about some more Logic App errors
- The request has both SAS authentication scheme and 'Bearer' authorization scheme. Only one scheme should be used
- Selected file must be between 1 and 2097152 bytes
- SplitOn property doesn't validate expression at design time
- The workflow with 'Response' action type should not have triggers with 'splitOn' property
- The template language function 'xpath' expects its first parameter to be an XML object
- The template language expression 'xxx' cannot be evaluated because property 'xxx' doesn't exist. Property selection is not supported on content of type 'application/xml'
Tags:
Azure Logic App Error