<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sync Geodatabase Issues in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/sync-geodatabase-issues/m-p/387980#M1946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Joshua-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your code with this feature service URL (&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer&lt;/A&gt;), and when I inspect the output geodatabase file, I see all of the layers in it. When you say it doesn't bring down your service layer polygons, how are you verifying this? Are you looking at the table in some sqlite browser? Or are you adding the output to a map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 23:51:56 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2016-09-19T23:51:56Z</dc:date>
    <item>
      <title>Sync Geodatabase Issues</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/sync-geodatabase-issues/m-p/387979#M1945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working on my first Qt app but have not been able to get past the first basic steps. For the app I have a feature service with two layers, layer 0 is for device location (points) and layer 1 is for service areas (polygons). I want to sync service areas from the server to the device (SyncDirectionDownload) and sync device location from the device to the server (SyncDirectionUpload ). I am expecting upon initial sync to the geodatabase, the service areas should be downloaded to the device's geodatabase, but this is not the case. I have tried a few different ways but either no features are downloaded or there are errors. &amp;nbsp;Any input on what I am doing wrong&amp;nbsp;or if I need to go about this a different way is greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each step is connected to separate buttons. Here is the output for each button:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getServiceButton:&lt;BR /&gt;(onFeatureServiceInfoStatusChanged): qml: capabilities: Create,Delete,Query,Sync,Update,Uploads,Editing&lt;BR /&gt;(onFeatureServiceInfoStatusChanged): qml: max record count: 1000&lt;BR /&gt;(onFeatureServiceInfoStatusChanged): qml: sync enabled?: true&lt;BR /&gt;(onFeatureServiceInfoStatusChanged): qml: server version: 10.41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;generateButton:&lt;BR /&gt;(onClicked): qml: Generating geodatabase...&lt;BR /&gt;(onGenerateStatusChanged): qml: Generate geodatabase in progress...&lt;BR /&gt;(onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;(onGenerateStatusChanged): qml: Generate geodatabase complete.&lt;BR /&gt;(onGenerateStatusChanged): qml: path: data/localdata.geodatabase&lt;BR /&gt;(onGenerateStatusChanged): qml: sync enabled: true&lt;BR /&gt;(onGenerateStatusChanged): qml: sync model: 1&lt;BR /&gt;(onGenerateStatusChanged): qml: valid: true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;registerButton: &amp;nbsp; not sure if this is functioning properly&lt;BR /&gt;(onClicked): qml: Registering geodatabase...&lt;BR /&gt;(onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syncButton: &amp;nbsp; will error&lt;BR /&gt;(onClicked): qml: Syncing geodatabase...&lt;BR /&gt;(onSyncStatusChanged): qml: Sync geodatabase in progress...&lt;BR /&gt;(onSyncStatusChanged): qml: Error: Invalid or missing input parameters. code= 400 Replica with this GUID does not exist on the server&lt;BR /&gt;(onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;(onSyncStatusChanged): qml: Error: Protocol "" is unknown code= 301 Protocol "" is unknown&lt;BR /&gt;(onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;(onSyncStatusChanged): qml: Error: Protocol "" is unknown code= 301 Protocol "" is unknown&lt;BR /&gt;(onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;(onSyncStatusChanged): qml: Error: Sync failed. Unable to import changes to server. code= -1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Info from the feature server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sync Capabilities:&lt;BR /&gt;Supports Registering Existing Data: true&lt;BR /&gt;Supports Sync Direction Control: true&lt;BR /&gt;Supports PerLayer Sync: true&lt;BR /&gt;Supports PerReplica Sync: false&lt;BR /&gt;Supports RollbackOnFailure : false&lt;BR /&gt;Supports Async: true&lt;/P&gt;&lt;P&gt;Supports ApplyEdits With Global Ids: true&lt;/P&gt;&lt;P&gt;Child Resources: Info Uploads Replicas&lt;/P&gt;&lt;P&gt;Supported Operations: Query Apply Edits Create Replica Synchronize Replica Unregister Replica&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The code snippet below is what I believe is the closest to what I need (my apologies on the formatting from copy/paste), but it will error when trying to sync.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;import QtQuick 2.3&lt;BR /&gt;import QtQuick.Controls 1.2&lt;BR /&gt;import QtPositioning 5.2&lt;/P&gt;&lt;P&gt;import QtQuick.Dialogs 1.2&lt;BR /&gt;import QtQuick.Layouts 1.1&lt;BR /&gt;import QtQuick.Controls.Styles 1.2&lt;/P&gt;&lt;P&gt;import ArcGIS.Runtime 10.26&lt;/P&gt;&lt;P&gt;ApplicationWindow {&lt;BR /&gt; id: appWindow&lt;BR /&gt; width: 800&lt;BR /&gt; height: 600&lt;BR /&gt; title: "my cool app"&lt;/P&gt;&lt;P&gt;property string featureServerUrl: // ** url left out on purpose**&lt;BR /&gt; property string gdbPath: "data/localdata.geodatabase"&lt;/P&gt;&lt;P&gt;Envelope {&lt;BR /&gt; id: env&lt;BR /&gt; xMin: -100&lt;BR /&gt; xMax: -85&lt;BR /&gt; yMin: 40&lt;BR /&gt; yMax: 50&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;SpatialReference{&lt;BR /&gt; id: sr&lt;BR /&gt; wkid: 4326&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;ServiceInfoTask {&lt;BR /&gt; id: featureServiceInfoTask&lt;BR /&gt; url: featureServerUrl&lt;/P&gt;&lt;P&gt;onFeatureServiceInfoStatusChanged: {&lt;/P&gt;&lt;P&gt;if (featureServiceInfoStatus === Enums.FeatureServiceInfoStatusReady) {&lt;BR /&gt; console.log("Fetch feature server info ready...")&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;else if (featureServiceInfoStatus === Enums.FeatureServiceInfoStatusInProgress) {&lt;BR /&gt; console.log("Fetch feature server info in progress...")&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;else if (featureServiceInfoStatus === Enums.FeatureServiceInfoStatusCompleted) {&lt;BR /&gt; Enums.FeatureServiceInfoStatusErrored&lt;BR /&gt; Enums.FeatureServiceInfoStatusInProgress&lt;BR /&gt; Enums.FeatureServiceInfoStatusReady&lt;BR /&gt; var featureServiceInfo = featureServiceInfoTask.featureServiceInfo&lt;BR /&gt; console.log("capabilities:", featureServiceInfo.capabilities)&lt;BR /&gt; console.log("max record count:",&lt;BR /&gt; featureServiceInfo.maximumRecordCount)&lt;BR /&gt; console.log("sync enabled?:", featureServiceInfo.isSyncEnabled)&lt;BR /&gt; console.log("server version:", featureServiceInfo.version)&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;else if (featureServiceInfoStatus === Enums.FeatureServiceInfoStatusErrored) {&lt;BR /&gt; console.log("Fetch feature server info ERRORED...")&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;GenerateGeodatabaseParameters {&lt;BR /&gt; id: generateGeodatabaseParameters&lt;BR /&gt; extent: env&lt;BR /&gt; layerIds: [0, 1]&lt;BR /&gt; syncModel: Enums.SyncModelLayer&lt;BR /&gt; outSpatialReference: sr&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;LayerSyncInfo {&lt;BR /&gt; id: layerSyncInfoPoints&lt;BR /&gt; layerId: 0&lt;BR /&gt; syncDirection: Enums.SyncDirectionUpload&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;LayerSyncInfo {&lt;BR /&gt; id: layerSyncInfoPolygons&lt;BR /&gt; layerId: 1&lt;BR /&gt; syncDirection: Enums.SyncDirectionDownload&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;SyncGeodatabaseParameters {&lt;BR /&gt; id: syncGeodatabaseParameters&lt;BR /&gt; layerSyncInfos: [layerSyncInfoPoints, layerSyncInfoPolygons]&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;Geodatabase {&lt;BR /&gt; id: gdb&lt;BR /&gt; path: gdbPath&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;GeodatabaseSyncStatusInfo {&lt;BR /&gt; id: geodatabaseSyncStatusInfo&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;GeodatabaseSyncTask {&lt;BR /&gt; id: geodatabaseSyncTask&lt;BR /&gt; url: featureServerUrl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onGenerateStatusChanged: {&lt;/P&gt;&lt;P&gt;// generate in progress&lt;BR /&gt; if (generateStatus === Enums.GenerateStatusInProgress) {&lt;BR /&gt; console.log("Generate geodatabase in progress...")&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;// generate complete&lt;BR /&gt; else if (generateStatus === Enums.GenerateStatusCompleted) {&lt;BR /&gt; console.log("Generate geodatabase complete.")&lt;BR /&gt; console.log("path: " + gdb.path)&lt;BR /&gt; console.log("sync enabled: " + gdb.isSyncEnabled)&lt;BR /&gt; console.log("sync model: " + gdb.syncModel)&lt;BR /&gt; console.log("valid: " + gdb.valid)&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;// generate error&lt;BR /&gt; else if (generateStatus === GeodatabaseSyncTask.GenerateError) {&lt;BR /&gt; console.log("Error: " + generateGeodatabaseError.message&lt;BR /&gt; + " Code= " + generateGeodatabaseError.code.toString(&lt;BR /&gt; ) + " " + generateGeodatabaseError.details)&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;onSyncStatusChanged: {&lt;/P&gt;&lt;P&gt;// sync is ready&lt;BR /&gt; if (syncStatus === Enums.SyncStatusReady) {&lt;BR /&gt; console.log('Sync geodatabase ready...')&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;// sync in progress&lt;BR /&gt; if (syncStatus === Enums.SyncStatusInProgress) {&lt;BR /&gt; console.log('Sync geodatabase in progress...')&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;// sync complete&lt;BR /&gt; else if (syncStatus === Enums.SyncStatusCompleted) {&lt;BR /&gt; console.log("Sync Geodatabase Complete.")&lt;BR /&gt; var gdbtables = gdb.geodatabaseFeatureTables&lt;BR /&gt; for (var i in gdbtables) {&lt;BR /&gt; var geodatabaseFeatureTable = gdbtables&lt;I&gt;&lt;BR /&gt; console.log(geodatabaseFeatureTable.featureServiceLayerName)&lt;BR /&gt; ;&lt;BR /&gt; console.log(geodatabaseFeatureTable.features.length)&lt;BR /&gt; }&lt;BR /&gt; }&lt;/I&gt;&lt;/P&gt;&lt;P&gt;// sync error&lt;BR /&gt; else if (syncStatus === Enums.SyncStatusErrored) {&lt;BR /&gt; console.log("Error: " + syncGeodatabaseError.message + " code= "&lt;BR /&gt; + syncGeodatabaseError.code.toString(&lt;BR /&gt; ) + " " + syncGeodatabaseError.details)&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;onGeodatabaseSyncStatusInfoChanged: {&lt;/P&gt;&lt;P&gt;// uploading status&lt;BR /&gt; if (geodatabaseSyncStatusInfo.status === Enums.GeodatabaseStatusUploadingDelta) {&lt;BR /&gt; var deltaProgress = geodatabaseSyncStatusInfo.deltaUploadProgress / 1000&lt;BR /&gt; var deltaSize = geodatabaseSyncStatusInfo.deltaSize / 1000&lt;BR /&gt; console.log(geodatabaseSyncStatusInfo.statusString + " " + String(&lt;BR /&gt; deltaProgress) + " of " + String(&lt;BR /&gt; deltaSize) + " KBs...")&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;else{&lt;BR /&gt; console.log("Sync status: " + geodatabaseSyncStatusInfo.status)&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;Column {&lt;BR /&gt; id: controlsColumn&lt;BR /&gt; width: 800&lt;BR /&gt; height: 600&lt;BR /&gt; anchors.leftMargin: 0&lt;BR /&gt; anchors.topMargin: 0&lt;BR /&gt; anchors {&lt;BR /&gt; left: parent.left&lt;BR /&gt; top: parent.top&lt;BR /&gt; margins: 20&lt;BR /&gt; }&lt;BR /&gt; spacing: 7&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Button {&lt;BR /&gt; id: getServiceButton&lt;BR /&gt; text: "Get Service Info"&lt;BR /&gt; enabled: true&lt;/P&gt;&lt;P&gt;onClicked: {&lt;BR /&gt; console.log("Getting service info...")&lt;BR /&gt; featureServiceInfoTask.fetchFeatureServiceInfo()&lt;BR /&gt; console.log(featureServiceInfoTask)&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;Button {&lt;BR /&gt; id: generateButton&lt;BR /&gt; text: "Generate Database"&lt;BR /&gt; enabled: true&lt;/P&gt;&lt;P&gt;onClicked: {&lt;BR /&gt; generateGeodatabaseParameters.initialize(featureServiceInfoTask.featureServiceInfo)&lt;BR /&gt; generateGeodatabaseParameters.extent = env&lt;BR /&gt; generateGeodatabaseParameters.returnAttachments = false&lt;/P&gt;&lt;P&gt;console.log("Generating geodatabase...")&lt;BR /&gt; geodatabaseSyncTask.generateGeodatabase(generateGeodatabaseParameters, gdbPath)&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Button {&lt;BR /&gt; id: registerButton&lt;BR /&gt; text: "Register Database"&lt;BR /&gt; enabled: true&lt;/P&gt;&lt;P&gt;onClicked: {&lt;BR /&gt; // register geodatabase&lt;BR /&gt; console.log("Registering geodatabase...")&lt;BR /&gt; geodatabaseSyncTask.registerGeodatabase(gdb)&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;Button {&lt;BR /&gt; id: syncButton&lt;BR /&gt; text: "Sync Database"&lt;BR /&gt; enabled: true&lt;/P&gt;&lt;P&gt;onClicked: {&lt;/P&gt;&lt;P&gt;console.log("Syncing geodatabase...")&lt;BR /&gt; geodatabaseSyncTask.syncGeodatabase(&lt;BR /&gt; syncGeodatabaseParameters, gdb)&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 03:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/sync-geodatabase-issues/m-p/387979#M1945</guid>
      <dc:creator>JoshuaDonato</dc:creator>
      <dc:date>2016-09-15T03:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sync Geodatabase Issues</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/sync-geodatabase-issues/m-p/387980#M1946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Joshua-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your code with this feature service URL (&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer&lt;/A&gt;), and when I inspect the output geodatabase file, I see all of the layers in it. When you say it doesn't bring down your service layer polygons, how are you verifying this? Are you looking at the table in some sqlite browser? Or are you adding the output to a map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 23:51:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/sync-geodatabase-issues/m-p/387980#M1946</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-09-19T23:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sync Geodatabase Issues</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/sync-geodatabase-issues/m-p/387981#M1947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. Its been a while but I am finally back on this project. I think I was not completely understanding what some of the classes actually do and how to properly accomplish my task and found myself going in circles in the API docs. Here is a (long winded) description of what I am trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to pull down all polygons from a layer in a service onto a device when the application starts up. I am expecting intermittent data connection but I need to have access to the polygons at all times. Plus I want to minimize data traffic because the client is concerned about the data plan. Ideally, the data would persist on the device in case there is no data connection when the app starts. When a data connection is made, any updates to the polygon layer on the service would also be updated on the device. The app will not make changes to the polygon data, the polygons simply need to be on the device at all times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to generate point data on the device indicating the device location and what polygon it is in. Again, since I am expecting intermittent data connection, the point data needs to persist in a local geodatabase if there is no connection and sent to the service when there is a connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the code I posted is a start but is missing some parts. I believe a query is required to pull all the polygon data into a geodatabase to save it to disk but I am not sure where that needs to occur. I think I saw a post you responded to regarding this but have not been able to find it again. As for updating the polygon layer in the local geodatabase and pushing any points in the geodatabase to the service, I am not sure if syncing is the correct methodology.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers you have are greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 16:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/sync-geodatabase-issues/m-p/387981#M1947</guid>
      <dc:creator>JoshuaDonato</dc:creator>
      <dc:date>2016-10-20T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sync Geodatabase Issues</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/sync-geodatabase-issues/m-p/387982#M1948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added more lines of output to see what is happening in some of the steps. &amp;nbsp;I am logging what layers are in the local geodatabase and the feature count for the layers after generation. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the WildfireSync data, I am trying to pull all the features from the service to the local geodatabase. &amp;nbsp;The log indicates&amp;nbsp;each layer is in the local geodatabase, but each layer has no features. &amp;nbsp;When syncing, it errors indicating no Replica GUID. &amp;nbsp;When viewing .../WildfireSync/FeatureServer/replicas I can see that a replica is being created along with a Replica ID. &amp;nbsp;The output JSON string for geodatabase sync status info does not have a replica id or replica name. &amp;nbsp;All this is the same for my own service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm at a loss as to why I cannot replicate a geodatabase on my device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insight is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;##### &amp;nbsp;Logging Info #####&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click Get Service Info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:226 (onClicked): qml: Getting service info...&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:228 (onClicked): qml: QmlServiceInfoTask(0xb901aaa0)&lt;BR /&gt;D/libc-netbsd(21456): [getaddrinfo]: hostname=xxxxx; servname=(null); cache_mode=(null), netid=0; mark=0&lt;BR /&gt;D/libc-netbsd(21456): [getaddrinfo]: ai_addrlen=0; ai_canonname=xxxxx; ai_flags=1024; ai_family=0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:44 (onFeatureServiceInfoStatusChanged): qml: capabilities: Create,Delete,Query,Sync,Update,Uploads,Editing&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:45 (onFeatureServiceInfoStatusChanged): qml: max record count: 1000&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:47 (onFeatureServiceInfoStatusChanged): qml: sync enabled?: true&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:48 (onFeatureServiceInfoStatusChanged): qml: server version: 10.41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click Register Database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:238 (onClicked): qml: Registering geodatabase...&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:202 (onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:203 (onGeodatabaseSyncStatusInfoChanged): qml: geodatabase sync status info json:{"jobId":null,"lastUpdatedTime":21600000,"replicaID":null,"replicaName":null,"responseType":"esriReplicaResponseTypeData","resultUrl":null,"status":"Pending","submissionTime":21600000,"updateUrl":null}&lt;/P&gt;&lt;P&gt;Click Generate Geodatabase&lt;/P&gt;&lt;P&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:253 (onClicked): qml: Generating geodatabase...&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:132 (onGenerateStatusChanged): qml: Generate geodatabase in progress...&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:133 (onGenerateStatusChanged): qml: geodatabase sync status info json:{"jobId":null,"lastUpdatedTime":21600000,"replicaID":null,"replicaName":null,"responseType":"esriReplicaResponseTypeData","resultUrl":null,"status":"Pending","submissionTime":21600000,"updateUrl":null}&lt;BR /&gt;D/libc-netbsd(21456): [getaddrinfo]: hostname=xxxxx; servname=(null); cache_mode=(null), netid=0; mark=0&lt;BR /&gt;D/libc-netbsd(21456): [getaddrinfo]: ai_addrlen=0; ai_canonname=xxxxx; ai_flags=1024; ai_family=0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:202 (onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:203 (onGeodatabaseSyncStatusInfoChanged): qml: geodatabase sync status info json:{"jobId":null,"lastUpdatedTime":21600000,"replicaID":null,"replicaName":null,"responseType":"esriReplicaResponseTypeData","resultUrl":null,"status":"Pending","submissionTime":21600000,"updateUrl":null}&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:202 (onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:203 (onGeodatabaseSyncStatusInfoChanged): qml: geodatabase sync status info json:{"jobId":null,"lastUpdatedTime":21600000,"replicaID":null,"replicaName":null,"responseType":"esriReplicaResponseTypeData","resultUrl":null,"status":"Pending","submissionTime":21600000,"updateUrl":null}&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:135 (onGenerateStatusChanged): qml: Generate geodatabase complete.&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:136 (onGenerateStatusChanged): qml: geodatabase path: data/localdata.geodatabase&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:137 (onGenerateStatusChanged): qml: geodatabase sync enabled: true&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:138 (onGenerateStatusChanged): qml: geodatabase sync model: 1&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:139 (onGenerateStatusChanged): qml: geodatabase valid: true&lt;BR /&gt;&lt;SPAN&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:140 (onGenerateStatusChanged): qml: geodatabase sync task url:&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fsampleserver6.arcgisonline.com%2Farcgis%2Frest%2Fservices%2FSync%2FWildfireSync%2FFeatureServer" rel="nofollow" target="_blank"&gt;https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer&lt;/A&gt;&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:142 (onGenerateStatusChanged): qml: geodatabase sync status info json:{"jobId":null,"lastUpdatedTime":21600000,"replicaID":null,"replicaName":null,"responseType":"esriReplicaResponseTypeData","resultUrl":null,"status":"Pending","submissionTime":21600000,"updateUrl":null}&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:146 (onGenerateStatusChanged): qml: table count: 3&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:150 (onGenerateStatusChanged): qml: Table name: Wildfire Response Points&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:151 (onGenerateStatusChanged): qml: Feature count: 0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:150 (onGenerateStatusChanged): qml: Table name: Wildfire Response Lines&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:151 (onGenerateStatusChanged): qml: Feature count: 0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:150 (onGenerateStatusChanged): qml: Table name: Wildfire Response Polygons&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:151 (onGenerateStatusChanged): qml: Feature count: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click Sync Geodatabase:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:266 (onClicked): qml: Syncing geodatabase...&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:167 (onSyncStatusChanged): qml: Sync geodatabase in progress...&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:183 (onSyncStatusChanged): qml: Error: Invalid or missing input parameters. code= 400 Replica with this GUID does not exist on the server&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:202 (onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:203 (onGeodatabaseSyncStatusInfoChanged): qml: geodatabase sync status info json:{"jobId":null,"lastUpdatedTime":21600000,"replicaID":null,"replicaName":null,"responseType":"esriReplicaResponseTypeData","resultUrl":null,"status":"Pending","submissionTime":21600000,"updateUrl":null}&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:183 (onSyncStatusChanged): qml: Error: Protocol "" is unknown code= 301 Protocol "" is unknown&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:202 (onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:203 (onGeodatabaseSyncStatusInfoChanged): qml: geodatabase sync status info json:{"jobId":null,"lastUpdatedTime":21600000,"replicaID":null,"replicaName":null,"responseType":"esriReplicaResponseTypeData","resultUrl":null,"status":"Pending","submissionTime":21600000,"updateUrl":null}&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:183 (onSyncStatusChanged): qml: Error: Protocol "" is unknown code= 301 Protocol "" is unknown&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:202 (onGeodatabaseSyncStatusInfoChanged): qml: Sync status: 0&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:203 (onGeodatabaseSyncStatusInfoChanged): qml: geodatabase sync status info json:{"jobId":null,"lastUpdatedTime":21600000,"replicaID":null,"replicaName":null,"responseType":"esriReplicaResponseTypeData","resultUrl":null,"status":"Pending","submissionTime":21600000,"updateUrl":null}&lt;BR /&gt;D/localGeodatabaseWildfires(21456): qrc:/qml/main.qml:183 (onSyncStatusChanged): qml: Error: Sync failed. Unable to import changes to server. code= -1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 21:01:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/sync-geodatabase-issues/m-p/387982#M1948</guid>
      <dc:creator>JoshuaDonato</dc:creator>
      <dc:date>2016-11-04T21:01:48Z</dc:date>
    </item>
  </channel>
</rss>

