@SriRaghavendran Prabhakaran
Thank you for the question and for using Microsoft Q&A platform.
Here are some troubleshooting steps you can try:
- Check the format of the message being sent from the upstream function app. Make sure it is a valid JSON array and not an object.
- Check the format of the message being received by the EventHub trigger in the logic app. You can use the "Parse JSON" action in the logic app to parse the message and check its format. This can help ensure that the data is interpreted correctly as an array.
- If the issue persists, you might need to add custom code in your function app to ensure the data is sent in the correct format. For example, you can use
JSON.stringify()
to convert the array to a JSON string before sending it to EventHub. - Check the connection string for the EventHub trigger. Make sure it is correct and has the necessary permissions to read messages from the EventHub.
- Check the logs for the function app and the logic app to see if there are any errors or warnings related to the EventHub trigger.
Hope this helps. Please let us know if you have any further questions.