Troubleshooting
Common Native Core Python SDK errors — the surfaced string, what it means, and the fix.
Common errors
You see (surfaced string / class)
Meaning
Fix
Reconcile an uncertain write — never resubmit
from native_core import Exchange, SubmissionUncertain
exchange = Exchange.from_bundle("bundle.json") # your connection bundle
MARKET = "ETH/USDT"
try:
resp = exchange.order(MARKET, is_buy=True, sz="0.01", limit_px="1000.00", tif="gtc")
except SubmissionUncertain as e:
# Signed and sent, then timed out. The order MAY be live — do NOT re-place.
verdict = exchange.info.reconcile_by_cloid(exchange.effective_account, MARKET, e.cloid)
if verdict["undetermined"]:
... # still not confirmed: keep reconciling by cloid, never resubmit
elif verdict["is_filled"]:
... # fully filled
elif verdict["filled_qty"] != "0":
... # partially filled and resting — verdict["filled_qty"] is how much
else:
... # resting, unfilled (verdict["state"], e.g. "open")Retry only on RateLimited
Gotchas
See also
Last updated