Agentic completed but raise error ClientError(status_code, response_json, response) google.genai.errors.ClientError: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'Not Found. However, the operation was successful.', 'status': 'NOT_FOUND'}}


When you're calling your agentic app, you ran into this error 

raise ClientError(status_code, response_json, response)
google.genai.errors.ClientError: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'Not Found. However, the operation was successful.', 'status': 'NOT_FOUND'}}

And then you try to see what is wrong. This can lead into a whole rabbit whole. Took me 2 hours to resolve this. 

This happens to me because I enabled gateway agent on my agent. So an operation that will generally be fine, has raise this error. 

I had to disabled that be redeploy my runtime and removing gateway from it.






Comments

Popular posts from this blog

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

llama cpp running it in google colab