Redis export data to storage account using Http Action in Logic App

2024-05-29T17:27:13.1666667+00:00

I want to periodically export Redis data to storage account.

Used Http post action with managed identity in Logic App to post data to storage account.

My cache, logic app and storage account all are under same subscription.

Getting below Error

{ "error": {"code": "Conflict", "message": "The resource '/subscriptions/{subscripId}/resourceGroups/{RG}/providers/Microsoft.Cache/Redis/cache' is busy processing a previous update request or is undergoing system maintenance. As such, it is currently unable to accept the update request. Please try again later.\r\nRequestID={Id}", "target": null}}

Please help me to fix this issue.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,203 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
259 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 12,011 Reputation points
    2024-05-29T19:18:38.3733333+00:00

    Hello Mary Brindha (TATA CONSULTANCY SERVICES LTD),

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    Regarding your question to fix the issues error with "code": "Conflict", "message". I understand that you are experiencing issues with Azure Logic App where it intermittently fails to export data from a Redis cache to a storage account.

    The error you encountered indicates that the Redis cache is busy due to ongoing updates or maintenance, that is causing a conflict.

    From experience to resolve this:

    1. The issue might resolve itself once the previous operation has completed.
    2. Implementing Retry Policy in Logic App.
    3. If the first and second previous request is stuck for a long time and retrying does not resolve the issue, it would be best to open Azure support + troubleshooting ticket from your Azure Portal for further investigation.

    User's image

    Therefore, to set the retry policy with parameters like count and interval in your Logic App for example:

    • Retry Count: Number of retries.
    • Retry Interval: Time interval between retries.
    "retryPolicy": {
        "type": "fixed",
        "interval": "PT5M",
        "count": 5
    }
    

    Accept Answer

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful ** so that others in the community facing similar issues can easily find the solution.

    Best Regards,

    Sina Salam


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.