Skip to main content

Trying to make an automation from a payment provider (payrexx) to a business software (bexio) to issue automatically an invoice, now getting an error message, tired everything and have no idea what to change.

Item amount array must have the same length as the item id array. 

 

Hi ​@deniz_momoha 

The error indicates the 2 arrays do not have the same number of items.

 

For us to have more info, post these screenshots:

  • how your Zap steps are outlined
  • how your Zap steps are configured in EDIT mode in the CONFIGURE tab

hey ​@Troy Tessalone , thanks for the feedback, pls find the the screenshots attached.
Rally hope that you see something in there. 

Thank you ! 

 

 


sry i just realized my scrolling captures were not captured right, here the right ones 

 


@deniz_momoha 

For Zap step 6, for Items, for Line Item Name/ID/Code, that is a dropdown field that expects specific values.

Help links to follow for the expected values in dropdown lists: https://help.zapier.com/hc/en-us/articles/8496241696141-Add-custom-values-to-dropdown-menu-fields-in-Zaps

 


@Troy Tessalone thanks for the feedback, now it seems to work, but having an other issue.

what irritates me > cant fnd product, but the step before everything is good and choosing now the items from the step before i get this error message, do you have any idea? 

 

 


@deniz_momoha 

See screenshot below.

There is likely a mismatch between the 2 fields.

If you want to make it dynamic, then set Line Item Product Key = Name and map a variable from a previous step for the Line Item Name field.

If you want to set a static option from the dropdown list, then try selecting Product Key = ID.

 


@Troy Tessalone Thank you so much ! 

This is so strange, now an other issue, and its strange, things havent really changed, just reentered the data, what i did before as well.
When i put Status on draft, it creates the invoice but without items and Total amount of 0

Do you have an idea? 
 

 


Hey ​@deniz_momoha, just came across this and wanted to check in! Were you able to get this sorted? 

If not, I suspect the issue might be coming from the value selected in the Line Item Product Key field. That field should either have the Name, Id or Code option selected, but appears to have had the Intern Name field selected instead:

dcaaecffa1ab81481f70a46ae3ce19e1.png

Can you try selecting the Name option for that field again:

957fd49a48304a0945ff7a310a39faca.png
Then underneath that, in the Line Item Name/Id/Code field, select the Custom option then select the field that contains the line item name that you’re after (presumably that’s the Intern Name field).

Keep us posted on how things are going, want to make sure you’re all set! 🙂