could not update an item in the inventory

could not update an item in the inventory

Hi,

I am a developer from Germany. I 'm new to zoho. 
I am able to add an item to the inventory. However, I am mot able to update an item. 

This is how I used to add an item to the inventory. And its successful.

curl https://inventory.zoho.eu/api/v1/items?organization_id=20075964771
-X POST
-H "Authorization: Zoho-oauthtoken 1000.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
-H "Content-Type: application/json"
-d '{
    "name": "Toothpaste",
}'

I have tried like below to update an item. 

curl https://inventory.zoho.eu/api/v1/items?organization_id=20075964771
-X PUT
-H "Authorization: Zoho-oauthtoken 1000.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
-H "Content-Type: application/json"
-d '{
    "name": "Toothpaste",
    "initial_stock": 50,
}'

I'm getting an error like below.

{
    "code": 1000,
    "message": "Interner Fehler"
}

means an internal error.  Also I see errors when I run the example from the zoho inventory api. 
Thank you.

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方