Developer forum

Forum » Integration » "No rows were imported to the table" when using Endpoint or BC provider

"No rows were imported to the table" when using Endpoint or BC provider

Dynamicweb Employee
Jeremy Fesmire
Reply

Hello,

I have a site running 9.14.9 and we are using BC odata for integration and every endpoint is returning data, but none of them are commiting data to the site. Every log file looks similar to this with the url changing to reflect each endpoint:

 

For this particular endpoint when using the URL from the log in Postman to see what data is returning I get these results:
   "value": [
        {
            "@odata.etag": "W/\"JzIwOzExMjQ2MDY5NzIwNDM2OTAyMzY5MTswMDsn\"",
            "assortmentPermissionAssortmentId": "CP0010",
            "assortmentPermissionAccessUserId": "8376",
            "id": "CP0010-8376"
        },
        {
            "@odata.etag": "W/\"JzIwOzExMjQ2MDY5NjM0MDYxMjY3MTM3MTswMDsn\"",
            "assortmentPermissionAssortmentId": "CP0010",
            "assortmentPermissionAccessUserId": "8470",
            "id": "CP0010-8470"
        }
    ]
}

 

Neither of these records are in the database on the EcomAssortmentPermissions as expected since "No rows were imported". This happens on every activity, products, customer, variants, logins, etc. 

I have confirmed with each one that the URL from the log works and is returning data in Postman. I have also rebuilt each job both with the endpoint provider and the BC provider and they net the same result of No row being imported. The primary keys are set on the jobs and the settings in the destination providers have been checked to ensure none of the setttings such as "update existing rows only" are checked.

Please advise on how to get the data that is returning from the odata api into the dw database.


Replies

 
Matthias Sebastian Sort Dynamicweb Employee
Matthias Sebastian Sort
Reply

Hi Jeremy,

looks weird!

What version of the OData Provider is used on that site?

Have you tried to add a job where you have the same source provider, but using a "file-provider" as destination (XML, CSV, Json etc), and see if the Source Provider is able to store data in a file?

What type of Destination Provider(s) is used for your job, is it all in the same job too?

I have released a version 2.0.0 of the OData Provider, but not sure you are able to use this one, as it checks for a license in your solution, but if the site does have the license "eCom_DataIntegrationERPBatch_BC" then you could try and update it to that version (if it is the OData Provider who is the trouble one).

BR

Matthias Sort

 
Dynamicweb Employee
Jeremy Fesmire
Reply

Hi Matthias,

Thank you for your response. Hope you are doing well.

This site currently is running Odata Provider version 0.2.25. I did download and try to use the latest version of the Odata Provider, but I believe that I must be missing the license. Once the dll was loaded for the site I could no longer use the new providers as they were no longer options in the dropdown list.

I tested using the Odata (BC) Provider as a source and each of the different file based providers for the destination. All of them were successful and created the file as expected with the correct data matching what I can see in Postman.

For your second question, across the jobs that are all displaying this behavior of not importing rows from the temp table to the database, I have used the Ecom Provider, User Provider, and Dynamicweb Providers as the destination providers and none of them have worked except for one run using the Dynamicweb Provider as the destination. Outside of the singular successful run they have all had the same issue for me.

Best Regards,

Jeremy

 
Matthias Sebastian Sort Dynamicweb Employee
Matthias Sebastian Sort
Reply

Hi Jeremy,

Sorry for the long response time, holidays! :P

I have made a bug-fix on the Dynamicweb Provider (version 3.0.7), but that use case was from F&O to DW, but maybe it could fix your problem?

If not, then maybe I could have a look on your job-file, send it to me or something, so I can see your setup (although I am not sure what data your are fetching for assortemts in BC, as I can't search for it anywhere, would like to have connection to our own BC to test it properly)..

Is all your imports about Assortments, or is it also other stuff that doesn't import correctly to DW?

And thanks, yes everything is going well here, and hope it does for you too :)

BR

Matthias Sort

 

You must be logged in to post in the forum