Breaking Changes to the replica API. Agent developers take note

Hello everyone! The IC interface specification recently introduced error codes to /api/v2/canister/<effective_canister_id>/call responses.
Existing agents should not break in the sense that they would now report a success where an error happened, but the logic to detect which error occurred won’t work quite the same anymore.

Please update your implementations if necessary. For an example on how to implement the changes, have a look at the Rust agent changes.

CC @quint @neeboo @rdobrik @Gekctek @levi @jleni

3 Likes

Appreciate the heads up!
Fixed in ICP.NET agent version 2.3.5

2 Likes

Thank you Severin. Already implemented changes in our latest release IC4J Java Agent. This is a nice feature to have!

2 Likes

Hi @Severin, Thanks for the lookout! :saluting_face:

Can you help clarify the benefits of this change on the github thread?

I’ll ask. I haven’t thought enough on it to have an insightful comment for this…