Minor cleanup, return `error: null` in API success call.