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
Hello, good afternoon. I'm trying to run the "get_case_observables" command from the TH4PY API documentation but I get the following error: Status code: 400 | Error: {'type': 'AttributeCheckingError', 'message': '[Invalid format for _id: FString(88888), expected id ()]', 'errors': [{'name': '_id', 'format ': 'id', 'acceptedInput': [], 'field': 'FString(88888)', 'type': 'InvalidFormatAttributeError'}]}.
my code is the following:
(88888 its a example)
def command_get_case_observables(client: Client, args: dict):
case_id = str(args.get('caseId')) ()
res = client.get_case_observables(case_id)
for observable in res:
print(observable.data)
() here also try int(args.get('caseId')) and args.get('caseId')
Request Type
Bug Problem with 'get_case_observables'
Problem Description
Hello, good afternoon. I'm trying to run the "get_case_observables" command from the TH4PY API documentation but I get the following error: Status code: 400 | Error: {'type': 'AttributeCheckingError', 'message': '[Invalid format for _id: FString(88888), expected id ()]', 'errors': [{'name': '_id', 'format ': 'id', 'acceptedInput': [], 'field': 'FString(88888)', 'type': 'InvalidFormatAttributeError'}]}.
my code is the following:
(88888 its a example)
def command_get_case_observables(client: Client, args: dict):
case_id = str(args.get('caseId')) ()
res = client.get_case_observables(case_id)
for observable in res:
print(observable.data)
() here also try int(args.get('caseId')) and args.get('caseId')
Could you please help me? Thank you very much =D
The text was updated successfully, but these errors were encountered: