Skip to main content
Question

Deploy Failed in AA

  • June 13, 2024
  • 3 replies
  • 218 views

Forum|alt.badge.img+6

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
Forum|alt.badge.img+7
  • Automation Anywhere Team
  • 109 replies
  • 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. 


Forum|alt.badge.img+6
  • Author
  • Navigator | Tier 3
  • 11 replies
  • 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
Forum|alt.badge.img+1

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"

    }

  }

}