IXP tool not working within agents — Attachment with key None not found

Hi everyone,

I’m facing a blocking issue on my UiPath tenant. After publishing and deploying a new agent, none of my agents are able to use an IXP tool anymore.

The following error is returned systematically :

AGENT_RUNTIME.UNEXPECTED_ERROR
Attachment with key None not found in UiPath or local storage

I have confirmed the following :

  • The issue affects all existing agents
  • Even a brand new agent created from scratch with an IXP tool fails immediately, which rules out any configuration error on our side
  • The IXP tool works correctly when tested individually outside of an agent
  • Worth noting that using the native Analyze Attachment tool works perfectly, confirming the file itself is not the issue
  • The problem therefore seems isolated to the file transmission mechanism between the agent and the IXP tool

Has anyone encountered this issue ? Is there a known fix or a workaround ?

Thanks in advance

Hey @ALF1, instead of passing the attachment directly, Current (Broken):
IXP Tool Activity Input: DocumentPath (direct file reference) ->Causes ‘key None’ error For fixing, use this method :
Save Attachment to Local Path First Activity: Get Attachment Content Save to: Local temp folder Then pass LOCAL PATH to IXP: IXP Tool Activity Input: Local file path (not cloud reference)
Should work immediately and now Implementation:
1.Add ‘Get Attachment Content’ activity BEFORE IXP tool
2. Save attachment locally:
3. Path: Path.Combine(System.Environment.GetEnvironmentVariable(“TEMP”), ‘attachment.pdf’)
4. Pass this LOCAL path to the IXP tool
5. Clean up the temp file after, and please let me know is it working or not

Hi,

Thank you for the detailed solution, I really appreciate it. Unfortunately I wasn’t able to test it as the issue resolved itself in the meantime. I also felt it would have added some complexity to my current setup.

I’ll keep it in mind if the problem comes back though!