We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
since version 4.1.0 i cant import a new location (also tested in 4.1.2), same code on version 4.0.5 works perfectly
it should create/update the object
ValueError: {'name': 'UnsupportedError', 'message': 'Cant create key for Position from empty data'}
opencti-log:
The text was updated successfully, but these errors were encountered:
[api] Fix generation of location IDs (#1057)
4455932
No branches or pull requests
Description
since version 4.1.0 i cant import a new location (also tested in 4.1.2), same code on version 4.0.5 works perfectly
Environment
Reproducible Steps
def create_loc(act_loc,date,o_api_cli,stan_id):
location ={"type": "location",
"id": stan_id,
"created": date,
"modified": date,
"name": act_loc,
"country": act_loc.lower()
}
o_api_cli.stix2.import_object(location, update=True)
Expected Output
it should create/update the object
Actual Output
ValueError: {'name': 'UnsupportedError', 'message': 'Cant create key for Position from empty data'}
Additional information
opencti-log:
The text was updated successfully, but these errors were encountered: