You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyspdxtools -i merge.spdx.json
ERROR:root:The document is invalid. The following issues have been found:
every spdx_id must be unique within the document, but found the following duplicates: ['SPDXRef-Package-crypto-js']
The text was updated successfully, but these errors were encountered:
It is possible that different files contain the same package.
This is a toy example, but in real SBOMs (that I cannot provide for confidentiality reasons), it happens often.
You should create different
spdx_id
s, or create a single instance of the package if it is exactly the same in both files.duplicate1.spdx.txt
duplicate2.spdx.txt
merge.spdx.json
The text was updated successfully, but these errors were encountered: