Skip to main content
Question

API Failed - Hugging Face (AI: Serverless Inference)

  • March 6, 2026
  • 3 replies
  • 85 views

I am trying to use AI: Serverless Inference in Automation Anywhere 360 with Hugging Face.

Flow:

  • AI: Authentication (Hugging Face token)

  • AI: Serverless Inference (tested models like gpt2, google/flan-t5-small)

  • Message Box to display response

However, the bot always goes to the Catch block. When I printed the error message, I got:

Status: 410
https://api-inference.huggingface.co is no longer supported.
Please use https://router.huggingface.co instead.

It looks like Automation Anywhere is calling the deprecated Hugging Face API endpoint.

Has anyone faced this issue?
How can we configure Automation Anywhere to use the new endpoint https://router.huggingface.co?

3 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+6
  • Automation Anywhere Team
  • March 6, 2026

@krishna_kr The only fix I can think of is to create a custom model connection. To do this, you must use Automation Anywhere APIs. There is no user interface at the moment that allows creation of custom models.

https://{yourcontrolroom}/swagger/ui/?url=/swagger/api/v1/ai-agent-studio-api.yaml

I made a video last year on the topic:

https://upskill.automationanywhere.com/getting-started-with-custom-generative-ai-model-connections

In the meantime, I would recommend starting a support ticket by emailing support@automationanywhere.com and mentioning the domain change causing the AI package to need updating.


  • Author
  • Cadet | Tier 2
  • March 7, 2026

Thank You Sir, this will help a lot.


  • Author
  • Cadet | Tier 2
  • March 17, 2026

@krishna_kr The only fix I can think of is to create a custom model connection. To do this, you must use Automation Anywhere APIs. There is no user interface at the moment that allows creation of custom models.

https://{yourcontrolroom}/swagger/ui/?url=/swagger/api/v1/ai-agent-studio-api.yaml

I made a video last year on the topic:

https://upskill.automationanywhere.com/getting-started-with-custom-generative-ai-model-connections

In the meantime, I would recommend starting a support ticket by emailing support@automationanywhere.com and mentioning the domain change causing the AI package to need updating.

 

I have sent an email to support@automationanywhere.com.
I also tried accessing Hugging Face through the REST API (POST method), and it is working!-->