diff --git a/tests/snuba/api/endpoints/test_organization_trace.py b/tests/snuba/api/endpoints/test_organization_trace.py index 7dd3ad255e40ff..0b16b44fb118d2 100644 --- a/tests/snuba/api/endpoints/test_organization_trace.py +++ b/tests/snuba/api/endpoints/test_organization_trace.py @@ -466,7 +466,7 @@ def sort_key(item): guid = ( item.attributes.get("guid", ProtoAttributeValue(val_str="")).string_value if hasattr(item, "attributes") - else item.get("event_id", "") + else item.get("additional_attributes", {}).get("guid", "") ) seq = ( item.attributes.get("request_sequence", ProtoAttributeValue(val_int=0)).int_value