Character has stopped responding and says this instead : "API error, cannot serve this request, the model is at capacity, please try again later"

Hi :waving_hand:

The character has stopped responding and says this instead : “API error, cannot serve this request, the model is at capacity, please try again later”.

Getting this error message in the Unity console :

“[Error][Character]: Grpc.Core.RpcException: Status(StatusCode=Cancelled, Detail=“Cancelled”)
at Grpc.Core.Internal.ClientResponseStream2[TRequest,TResponse].MoveNext (System.Threading.CancellationToken token) [0x00114] in <a15c3a9d71174e258510eb391d72d345>:0 at Convai.Scripts.Runtime.Core.ConvaiGRPCAPI.ReceiveResultFromServer (Grpc.Core.AsyncDuplexStreamingCall2[TRequest,TResponse] call, System.Threading.CancellationToken cancellationToken, Convai.Scripts.Runtime.Core.ConvaiNPC npc) [0x00144] in F:\U_Projects\TykeAI071225_B\Assets\Convai\Scripts\Runtime\Core\ConvaiGRPCAPI.cs:927
at Convai.Scripts.Runtime.Core.ConvaiGRPCAPI+<>c__DisplayClass36_0.b__0 () [0x0003e] in F:\U_Projects\TykeAI071225_B\Assets\Convai\Scripts\Runtime\Core\ConvaiGRPCAPI.cs:1141
at Convai.Scripts.Runtime.Core.ConvaiGRPCAPI.SendTriggerData (Service.ConvaiService+ConvaiServiceClient client, System.String characterID, Service.TriggerConfig triggerConfig, Convai.Scripts.Runtime.Core.ConvaiNPC sendingNPC) [0x0023f] in F:\U_Projects\TykeAI071225_B\Assets\Convai\Scripts\Runtime\Core\ConvaiGRPCAPI.cs:1143”

This is with character ID : 2786b252-9d59-11f0-88d8-42010a7be025

I haven’t tried any other character. This is with Grok 4.

EDIT : It’s working now, must have been those pesky gremlins again :sweat_smile: so please ignore or delete or mark as solved etc, cheers.

Hello Tyke,

This looks like an issue on the model provider side, not specifically your Unity setup. I’ve informed our team so they can investigate and we’ll get back to you as soon as possible.

In the meantime, please try switching your character to a different LLM and see if the error persists. Also, are you using the same session ID for a long time, or creating new sessions regularly?

Hi K3 :waving_hand:

Thank you for the quick reply and info :+1: it’s working ok now but will keep a close eye on it and yep will switch LLM if it happens again. I switch session ID about every 3 to 5 sessions.

1 Like