cancel
Showing results for 
Search instead for 
Did you mean: 

Error Warning: Undefined array key "source_code" when import Stocks

SOLVED

Error Warning: Undefined array key "source_code" when import Stocks

I am getting the following error while doing a stock import via CSV.

Using the path: System -> Import -> Stocks

 

Captura de pantalla 2023-08-09 a la(s) 17.27.07.png

 

This occurs with version 2.4.6-p1. With version 2.4.6 it does not happen.

 

Captura de pantalla 2023-08-09 a la(s) 17.29.54.png

 

This is the file mentioned in the error, line 40, start reading the CSV rows.

 

Someone that helps me?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error Warning: Undefined array key "source_code" when import Stocks

Ensure that your CSV file is properly formatted and contains the necessary columns melon playground required for the import, including the 'source_code' field if it's required for the import process. Double-check if there are any changes in the import requirements between versions. 

View solution in original post

1 REPLY 1

Re: Error Warning: Undefined array key "source_code" when import Stocks

Ensure that your CSV file is properly formatted and contains the necessary columns melon playground required for the import, including the 'source_code' field if it's required for the import process. Double-check if there are any changes in the import requirements between versions.