Skip to main content
Solved

SalesInvoice Detail GET fails on some invoice ids

  • October 6, 2023
  • 4 replies
  • 98 views

rcreasy
Varsity I
Forum|alt.badge.img

I have an integration that has been working fine since our launch. We are new to the system, 3 weeks in. 

I have started getting an error on GET calls to /SalesInvoice/Invoice/[invoice id] on some invoice ids.
 

More than one entity satisfies the condition

This happens on a very small percentage of our invoices. And of course in the UI there is only one  invoice with the ID
Any suggestions on how to handle this? Or, the cause?

Best answer by praveenpo

hi @rcreasy,

Usually this issue will occur when Any of the fields added multiple times in endpoint Configuration.

Can you check  any field added multiple times in you endpoint.

 

4 replies

praveenpo
Semi-Pro III
Forum|alt.badge.img+3
  • Semi-Pro III
  • Answer
  • October 6, 2023

hi @rcreasy,

Usually this issue will occur when Any of the fields added multiple times in endpoint Configuration.

Can you check  any field added multiple times in you endpoint.

 


rcreasy
Varsity I
Forum|alt.badge.img
  • Author
  • Varsity I
  • October 6, 2023

Thanks for the response @praveenpo 
I do have a field that is repeated. Any thoughts on why this would cause problems only on some invoices?


praveenpo
Semi-Pro III
Forum|alt.badge.img+3
  • Semi-Pro III
  • October 6, 2023

Not Sure, why it is happening for few Invoices @rcreasy 


rcreasy
Varsity I
Forum|alt.badge.img
  • Author
  • Varsity I
  • October 6, 2023

@praveenpo that seems to have been the issue. Thanks much.