Retried create duplicated session
A session or message appears twice after you retried a create.Cause
Session and message creates are not retried automatically and do not deduplicate. A retry after an ambiguous response, such as a timeout, can create a second record.sequence_number orders messages; it does not deduplicate them.
Solution
- Read the session and its transcript back before you retry.
- Retry only the write that is missing.
- For safe retries of other writes, see Errors and retries.
File upload returns 413
Sending the bytes for a file artifact fails with 413.
Cause
The body is larger than themax_bytes ceiling on the upload ticket.
Solution
- Read
max_bytesfrom the ticket before you send. - Request a new ticket with the file’s actual
size_bytes. - If the file is still larger than
max_bytes, split or compress it, then upload again.
Traces appear under person instead of agent
Runs show up under a person’s identity rather than the registered agent.Cause
The runs were sent with a personal API key. A trace belongs to the identity whose key sent it, never to an agent named in the payload.Solution
- Copy the agent’s own API key from its Identity tab, where it is shown once when created or rotated.
- Set it as
ATLAN_API_KEYfor the agent’s runtime, from an approved secret store. - Send a new run and confirm it appears under the agent. See Traces appear under person instead of agent.
See also
- Register agents through API: The recipe these errors come from.
- Send and verify traces: Confirm runs arrive and are attributed.