There are three categories of information that need to be checked when preparing data for upload.
Spreadsheets for most domains require a straight table with one data point per row. Certain domains, such as Prices, will load cross-tabs (i.e., with markets down the side and products across the top).
Column headings
Column headings must be recognized by FDW. When uploading ad hoc data, column names may need to be adjusted.
Important: If you regularly receive a document from a non-FEWS NET source that contains alternate column headings, do not edit the column headings every time. Instead, submit a help desk ticket so the Hub can add the headings as aliases to the system.
Source files uploaded to FDW must include properly defined column headings, including:
Column headings with correctly spelled metadata fields.
Column headings that contain metadata fields recognized by FDW.
A column heading for each column that contains data.
The examples below describe common errors related to column headings:
['Cannot identify a DataCollectionPeriod for every row.']
Explanation: The error indicates a mismatch in the column headings contained in the file and those recognized by FDW. For example, the data_source_document name or data_source_organization name in the file do not align with those in FDW. This error may also indicate that the file contains a blank column heading.
Solution: Ensure all column headings are titled correctly and there are no blank headings.
Metadata
Metadata values must be recognized by FDW. New metadata must be added through the data series or metadata importing screen.
Source files uploaded to FDW must include appropriate metadata information, including:
Metadata values that match those available in FDW.
Compatible metadata values for each record.
Metadata values free of extra characters or values that cannot be recognized.
The examples below describe common errors related to metadata:
Explanation: The invalid results are caused by incompatible values across the flow_type, source_country, and destination_country fields. E.g., a flow_type value of export cannot be valid if the source_country and destination_country values are the same.
Solution: The values must be corrected to upload the data successfully.
Explanation: This error is caused by an extra character or value under the metadata columns. Solution: Removing the extra character or value will resolve the issue. You can use the TRIM function in Excel to remove extra spaces from text, leaving only a single space between words and no space characters at the start or end of the text.
Explanation: The file contains a new metadata record not in FDW.
Solution: Check for new metadata information that needs to be added through the data series or metadata importing screen before uploading the file again.
Data values
Data values must be accurately matched to their column headings.
Source files uploaded to FDW must include appropriate data values, including:
Data values that align with the correct metadata field in the column headings.
Data values that are within an expected range.
The examples below describe common errors related to data values:
Explanation: The file contains interchanged data values for the price_type and product_source columns. As the data values could not be matched to the metadata fields in the column headings, they could not be uploaded.
Solution: Correcting the file so the data values align with the correct metadata field will resolve the issue.
JavaScript errors detected
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.