https://retellai.com/?utm_source=discord&utm_medium=seo logo
NotFoundError when trying to update agent via API
# ❓・bug-report
b
Hi I'm getting a 404 NotFoundError when trying to update agents using PATCH /update-agent. I don't have any problems with GET /get-agent which returns the correct response, and this was working fine yesterday. I've tried with a few different agents and get same error. Any help much appreciated!
Also tried with the Retell SDK - await retellClient.agent.update(agent_id, agent)
{ status: 404, headers: { 'access-control-allow-origin': '*', connection: 'keep-alive', 'content-length': '40', 'content-type': 'application/json; charset=utf-8', date: 'Mon, 30 Jun 2025 12:32:10 GMT', etag: 'W/"28-oxQD5GafiumufMFu6vqHJxUVbEs"', 'ratelimit-limit': '100', 'ratelimit-policy': '100;w=10', 'ratelimit-remaining': '99', 'ratelimit-reset': '10', vary: 'Accept-Encoding', 'x-powered-by': 'Express' }, error: { status: 'error', message: 'Not Found' } }
Fixed it! I was using a Play voice as the fallback so took that out and works fine now
s
Glad to hear that.