When trying to add a barcode which is already stored for the product, the error message "Network error" is shown.
Logcat:
06-14 10:14:52.020 11977 12010 E Volley : [2895] BasicNetwork.performRequest: Unexpected response code 400 for https://grocy.---.eu/api/objects/product_barcodes
A more meaningful error message would be helpful. I.e. Grocy webapp: "Error while saving, probably this item already exists"
When trying to add a barcode which is already stored for the product, the error message "Network error" is shown. Logcat:
06-14 10:14:52.020 11977 12010 E Volley : [2895] BasicNetwork.performRequest: Unexpected response code 400 for https://grocy.---.eu/api/objects/product_barcodes
A more meaningful error message would be helpful. I.e. Grocy webapp: "Error while saving, probably this item already exists"