-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I'm following the basic example to create and invoice and it gives me a error 500.
I added some logs but don't help that much.
client = ZohoInvoice::Client.new(:authtoken => ENV['ZOHOINVAUTH'], :apikey => ENV['ZOHOAPIKEY'])
invoice = client.invoices.new(:customer_id => 'asdf')
invoice.save
server responded with status 500
{:status=>500, :headers=>{"server"=>"ZGS", "date"=>"Wed, 11 Jun 2014 12:29:09 GMT", "content-type"=>"text/xml;charset=UTF-8", "transfer-encoding"=>"chunked", "connection"=>"close", "set-cookie"=>"d9c0a2d222=25bf71d25c6db2ab3322e47803959500; Path=/, JSESSIONID=07D975541AECAF142CDBED620B0296B9; Path=/, zbcscook=140c7dc1-63c1-4440-aa8a-a111e9f0c1d4; Path=/; Secure", "x-frame-options"=>"TRUSTED", "x-content-type-options"=>"nosniff", "x-xss-protection"=>"1", "pragma"=>"no-cache", "cache-control"=>"no-cache", "expires"=>"Thu, 01 Jan 1970 00:00:00 GMT", "api_version"=>"Jun_10_2014_2_9751"}, :body=>{"Response"=>{"Code"=>"1000", "Message"=>"Internal Error", "status"=>"0"}}}
ZohoInvoice::Error::ClientError: ZohoInvoice::Error::ClientError
I imagine it requires more data to create the invoice. I've tried with more stuff in the invoice to create but got the same error.
Any hints?
Which version of the Zoho invoice API it supports btw?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels