Skip to main content
AWilson
Navigator | Tier 3
July 23, 2025
Solved

BLM API Not Working in V.37

  • July 23, 2025
  • 17 replies
  • 331 views

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

Best answer by Shreya.Kumar

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

17 replies

AWilson
AWilsonAuthor
Navigator | Tier 3
July 23, 2025

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

 

Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
July 24, 2025

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
Shreya.Kumar
Pathfinder Community Team
July 24, 2025

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?

AWilson
AWilsonAuthor
Navigator | Tier 3
July 24, 2025

  

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.

AWilson
AWilsonAuthor
Navigator | Tier 3
July 24, 2025

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.

Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
July 24, 2025

  

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.

Padmakumar
Shreya.Kumar
Pathfinder Community Team
July 24, 2025

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!

Shreya.Kumar
Pathfinder Community Team
July 24, 2025

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

AWilson
AWilsonAuthor
Navigator | Tier 3
July 24, 2025

@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?

Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
July 24, 2025

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

Wow...that was fast...😀

Padmakumar