Zoho Inventory API - Error in getting Item picture

Zoho Inventory API - Error in getting Item picture

I need to display the item picture from Zoho inventory in my application.

I use the following url to get item picture.

https://inventory.zoho.com/api/v1/items/item_id/image_name?authtoken=authtoken&organization_id=orgid

It is not returning the picture but shows the error.
{"code":1000,"message":"Internal Error"}

Let me know how to fix this.