I'm not able to place the tablerates in a normal way on magento 2.3.4.
I choose predict and go to website.
There I upload the Tablerate.
I get an error that the NED value is incorrect so I change it to NL
Then all gets imported even the rest is Still in ISO values like BEL and ESP.
After that I can never upload the table again. "Something went wrong while importing table rates." is the message.
Exception Log gives.
[2020-04-03 14:46:05] main.CRITICAL: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'dpdpredict-1-BE-0--package_value_with_d-0.0000' for key 'UNQ_4D3820F36FB40644DD68D7EDAB44DBB4', query was: INSERT INTO dpdconnect_shipping_tablerate
(website_id
,dest_country_id
,dest_region_id
,dest_zip
,condition_name
,condition_value
,price
,cost
,shipping_method
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?) {"exception":"[object] (Magento\Framework\DB\Adapter\DuplicateException(code: 1062): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'dpdpredict-1-BE-0--package_value_with_d-0.0000' for key 'UNQ_4D3820F36FB40644DD68D7EDAB44DBB4', query was: INSERT INTO dpdconnect_shipping_tablerate
(website_id
,dest_country_id
,dest_region_id
,dest_zip
,condition_name
,condition_value
,price
,cost
,shipping_method
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?) at /home/user/domains/dev2.domain.nl/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:585, Zend_Db_Statement_Exception(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'dpdpredict-1-BE-0--package_value_with_d-0.0000' for key 'UNQ_4D3820F36FB40644DD68D7EDAB44DBB4', query was: INSERT INTO dpdconnect_shipping_tablerate
(website_id
,dest_country_id
,dest_region_id
,dest_zip
,condition_name
,condition_value
,price
,cost
,shipping_method
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?) at /home/website/domains/dev2.domain.nl/public_html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:110, PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'dpdpredict-1-BE-0--package_value_with_d-0.0000' for key 'UNQ_4D3820F36FB40644DD68D7EDAB44DBB4' at /home/website/domains/dev2.domain.nl/public_html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:91)"} []
So I go to the database and clear the whole table and after that I'm able to upload the new values.
However. The problems don't stop here.
The added table cannot be downloaded via the Export.
This file is always empty!
Also the database table gives a weird row value "package_value_with_d" that I cannot find back in the module code. There is no check on this.
"21" "dpdpredict" "1" "NL" "0" "*" "package_value_with_d" "0,0000" "3,9500" "0,0000"
"22" "dpdpredict" "1" "NL" "0" "*" "package_value_with_d" "75,0000" "0,0000" "0,0000"
The result is that on the frontend the price is always 0 for every item.
Any suggestions are welcome but the module like this is not useable.