#overture8
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Thanks for sharing, You are using an old API 2020-08-27 for this request and you are pasing an invoice line ID (il_) and not invoice item ID ii_123:
https://stripe.com/docs/api/invoiceitems/update
I imagine the working example are invoices that were created with newer API version ?
hmm, I don't believe so. This is a Stripe Connect setup and we've never used another version of the API. Is there a possibility that the items were created via the Stripe dashboard or something? Would that make them use a newer version of the API?
Yes it can
These are some legacy limitation for old API version.
Invoice items are isolated invoice items and not issued from Susbcription in general.
Double check the difference between the two invoices. I assume one is created manually using the invoice item API and the other was issued from a Susbcription
Hmm, yeah - I can see a lot of Dashboard activity (rather than chnaging things through our app).
Ok, I think that explains it.
Thanks a lot for your help.
Happy to help!
So, when this error appears, I should fall back to the ii_??? style ID?
No I don't think you can find a similar ID because it depends from were it was created
you should be thinking of updating the Stripe API version to the latest one in order to be compliant with dashboard activity
Yeah, fair point. Thanks again.