Skip to main content

Hi all,

 

Is anyone else experiencing issues with the BLM API, specifically the /v2/blm/promoteBot endpoint.

Since the v.37 update was deployed to our environment yesterday, all other endpoints are working but some of our promotion scripts are failing when executing a POST request on the promoteBot endpoint:

 

400: 

{
"message": "Validation failed for 'api_key'. Reason: must match pattern [^<>]*."
}

 

This seems like a strange error to get, considering it was working yesterday and there were no changes at all.

 

Thanks

Adam

Appears that this isn’t isolated to just the API, looks like the entire feature of bot promotion is broken:

 


Hi ​@AWilson ,

 

As the error indicates, the issue is with your API key. If your current request looks like:

{
  "api_key": "<my-secret-key>"
}

 

Change it to:

 

{ "api_key": "my-secret-key" }

 

 

Below shown is the accepted format.

 


Hi all,

 

Is anyone else experiencing issues with the BLM API, specifically the /v2/blm/promoteBot endpoint.

Since the v.37 update was deployed to our environment yesterday, all other endpoints are working but some of our promotion scripts are failing when executing a POST request on the promoteBot endpoint:

 

400: 

{
"message": "Validation failed for 'api_key'. Reason: must match pattern [^<>]*."
}

 

This seems like a strange error to get, considering it was working yesterday and there were no changes at all.

 

Thanks

Adam

@AWilson could you check if the API key has expired?


  

Hi ​@AWilson ,

 

As the error indicates, the issue is with your API key. If your current request looks like:

{
  "api_key": "<my-secret-key>"
}

 

Change it to:

 

{ "api_key": "my-secret-key" }

 

 

Below shown is the accepted format.

 

 

@Padmakumar  Hi, there’s no issue with the API Key as it can be used to make other requests. Please note my update on this post where I mentioned that even using the ‘Promote Bot’ feature in the UI (which is calling the /v2/promoteBot endpoint) is also not working.


Hi all,

 

Is anyone else experiencing issues with the BLM API, specifically the /v2/blm/promoteBot endpoint.

Since the v.37 update was deployed to our environment yesterday, all other endpoints are working but some of our promotion scripts are failing when executing a POST request on the promoteBot endpoint:

 

400: 

{
"message": "Validation failed for 'api_key'. Reason: must match pattern [^<>]*."
}

 

This seems like a strange error to get, considering it was working yesterday and there were no changes at all.

 

Thanks

Adam

@AWilson could you check if the API key has expired?

 

Hi ​@Shreya.Kumar , the key is valid as it can be used to make other requests.


  

Hi ​@AWilson ,

 

As the error indicates, the issue is with your API key. If your current request looks like:

{
  "api_key": "<my-secret-key>"
}

 

Change it to:

 

{ "api_key": "my-secret-key" }

 

 

Below shown is the accepted format.

 

 

@Padmakumar  Hi, there’s no issue with the API Key as it can be used to make other requests. Please note my update on this post where I mentioned that even using the ‘Promote Bot’ feature in the UI (which is calling the /v2/promoteBot endpoint) is also not working.

 

Requesting to raise a support ticket in this case as it could be a bug too.


Hi all,

 

Is anyone else experiencing issues with the BLM API, specifically the /v2/blm/promoteBot endpoint.

Since the v.37 update was deployed to our environment yesterday, all other endpoints are working but some of our promotion scripts are failing when executing a POST request on the promoteBot endpoint:

 

400: 

{
"message": "Validation failed for 'api_key'. Reason: must match pattern [^<>]*."
}

 

This seems like a strange error to get, considering it was working yesterday and there were no changes at all.

 

Thanks

Adam

@AWilson could you check if the API key has expired?

 

Hi ​@Shreya.Kumar , the key is valid as it can be used to make other requests.

I’ve escalated this to my team; will revert with a solution soon!


@AWilson the issue has been resolved by our team and should be rolled out in our upcoming patch update!


@AWilson the issue has been resolved by our team and should be rolled out in our upcoming patch update!

Thanks ​@Shreya.Kumar !

Do you have any more information on when this patch is likely to be applied?


@AWilson the issue has been resolved by our team and should be rolled out in our upcoming patch update!

Wow...that was fast...😀


@AWilson the issue has been resolved by our team and should be rolled out in our upcoming patch update!

Thanks ​@Shreya.Kumar !

Do you have any more information on when this patch is likely to be applied?

as of now, the tentative date is most likely the end of July, but I’m waiting for a confirmation from the release team. Will revert with a timeline once it’s locked in!


@AWilson the issue has been resolved by our team and should be rolled out in our upcoming patch update!

Wow...that was fast...😀

🚀lessgooo


@Shreya.Kumar I have an urgent need to make a fix to a production bot and cannot promote using the UI, which is our usual course, what can I do? We do not have any bot creator licenses open to assign to the production CR. Export and import?


@AWilson the issue has been resolved by our team and should be rolled out in our upcoming patch update!

Thanks ​@Shreya.Kumar !

Do you have any more information on when this patch is likely to be applied?

as of now, the tentative date is most likely the end of July, but I’m waiting for a confirmation from the release team. Will revert with a timeline once it’s locked in!

Hi ​@Shreya.Kumar ,

 

Do you have a date when this will be deployed to customer environments please? I note that this is still broken and impacting our normal release process.


@AWilson sorry for not updating this sooner; I have escalated this to my team, looks like there’s been some unexpected delays. I’ll have an update for you by next week.


in the meantime, please check out this article for a workaround: https://apeople.automationanywhere.com/s/article/A360-37-Known-Limitation-Bot-Promote-APIkey-intermittent-issue


Thanks for the workaround ​@Shreya.Kumar , I will generate new keys.