You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 23, 2024. It is now read-only.
trying to add product and i get this error:
pygrocy.errors.grocy_error.GrocyError: <Response [400]>code:
`from pygrocy import Grocy
grocy = Grocy("http://xxx.xxx.xxx.xxx", "x8E9FEIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx9afb1G4ufFa", port = 9192)
#for entry in grocy.stock():
#print("{} in stock for product id {}".format(entry.available_amount, entry.id))
tes = grocy.add_product_by_barcode('456789', 1, 0)
tes.id == 1
tes.name == 'test'`
im able to pull stock just cant add anything