Client ID invalid error for right payload

Hello all,
I am getting client Id is invalid error for invoice creation I don’t know why. It was working fine. and suddenly this error started to popup.

End Point: POST - https://invoicing.co/api/v1/invoices

{
client_id: ‘kazm43RqeJ’,
user_id: ‘MYer03j2bO’,
number: 1081,
line_items: [
{
custom_value2: ‘1’,
custom_value1: ‘2024-11-04’,
product_key: ‘PRN PTA’,
quantity: 1,
cost: 379.5,
notes: ‘#4797 (Chelsea I.) 8.25 hrs’
},
{
custom_value2: ‘2’,
custom_value1: ‘2024-11-05’,
product_key: ‘PRN P’,
quantity: 1,
cost: 391,
notes: ‘#4798 (Chelsea I.) 8.5 hrs’
}
],
is_amount_discount: false
}

Also when I see the client details from he get client it shows all the details

Hi,

Is it possible the client was marked as deleted?

Since you’re on the hosted platform feel free to send an email to contact@invoiceninja.com.

1 Like

It was found deleted. Thanks for reply.

1 Like

Glad to hear it, thanks for the update!