Discussion Forum

Phone-calls migration python example

I tried migration usign Pyton Api as per phone-calls example, I got follwing error while load the schema into a Grakn keyspace.

$ grakn console --keyspace phone_calls --file /d/phone_calls/schema.gql
Loading: /d/phone_calls/schema.gql

{}
Failed to load file: schema.gql
Cause: grakn.client.exception.GraknClientException
INVALID_ARGUMENT: GraqlSemanticException-duration doesn’t have an ‘isa’, a 'sub

Regards
selvaraj

Hi - have you resolved this issue? What version of Grakn are you running?

Hi @selvamsandeep,

It may occur due to some syntax error in your schema file. You should double-check for missing the comma or semicolon.

Best,