Skip to main content
Kayal 2500
Navigator | Tier 3
June 13, 2024
Question

Deploy Failed in AA

  • June 13, 2024
  • 3 replies
  • 337 views

Im getting the below error when trying to deploy a bot with newly created pool id.

 

{ "code": "generic.server.exception", "details": null, "message": "An unexpected problem occurred" }

    3 replies

    jon.stueveapeople
    Automation Anywhere Team
    Automation Anywhere Team
    June 13, 2024

    Can you provide more details so we may try to duplicate it. This can have several causes including permissions, bot agent issues, etc.

    If you need help, please contact support@automationanywhere.com to assist in troubleshooting. 

    Kayal 2500
    Navigator | Tier 3
    June 14, 2024

    We are trying to deploy a learning instance bot for triggering via API for that we are receiving the above mentioned error. If i try to deploy a normal task bot its getting deployed. 

    sudeeptapradhan048
    Cadet | Tier 2
    Cadet | Tier 2
    October 8, 2025

    Hi Everyone,

    I am trying to create a task bot schedule in control room using AA control room API.
    The the Delete API is working fine but when i am trying to Create a new or Update a existing schedule using API am getting 500 (server error).
    If you have encounter such issue you help will me appreciated. 

    Error message:-

    Below id the json request body that i am using:- 
     

    {

      "schedule": {

        "status": "ACTIVE",

        "description": "Schedule automation to run email bot.",

        "scheduleType": "NONE",

        "dailyRecurrence": {

          "interval": 0

        },

        "timeZone": "Asia/Calcutta",

        "startDate": "2025-11-16",

        "endDate": "",

        "startTime": "16:00",

        "repeatEnabled": false,

        "misfireScheduleConfig": false,

        "ownedBy": 12865,

        "scheduleResiliency": {

          "common": {

            "detectAndNotify": {

              "enabled": false,

              "hideSensitiveInformation": false

            },

            "recording": {

              "enabled": false,

              "botStatus": "FAILED"

            },

            "handleUnexpectedPopups": false

          }

        }

      },

      "deployment": {

        "botId": 461432,

        "automationName": "Demo_1",

        "description": "My first bot deploy using api",

        "botLabel": "",

        "runElevated": false,

        "hideBotAgentUi": false,

        "handleUnexpectedPopups": false,

        "automationPriority": "PRIORITY_MEDIUM",

        "UnattendedRequest": {

          "runAsUserIds": [

            "12865"

          ],

          "poolIds": [],

          "numOfRunAsUsersToUse": 0,

          "deviceUsageType": "RUN_ONLY_ON_DEFAULT_DEVICE"

        }

      }

    }

    Sudeepta Pradhan