Skip to content
New issue

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

H-2481: hash-api:dev: error: Ontology type is not external #4254

Open
nsvrana opened this issue Mar 29, 2024 · 0 comments
Open

H-2481: hash-api:dev: error: Ontology type is not external #4254

nsvrana opened this issue Mar 29, 2024 · 0 comments
Labels
area/apps > hash* Affects HASH (a `hash-*` app) area/self-hosting Relates solely to users self-hosting HASH category/bug Something isn't working priority/2 medium Medium priority: needs to be done

Comments

@nsvrana
Copy link
Contributor

nsvrana commented Mar 29, 2024

Describe the bug

Fresh Debian VM with working docker. External services built and deployed successfully. Ran codegen and seed-data successfully. When I run yarn dev I receive the following and the front-end application is unable to connect to the API service:

@apps/hash-api:dev: error: Ontology type is not external {"service":"api","stack":"Error: Ontology type is not external\n at <anonymous> (/root/hash/libs/@local/hash-backend-utils/src/create-graph-client.ts:97:31)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at createSystemPropertyTypeIfNotExists (/root/hash/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts:574:5)\n at migrate (/root/hash/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/migrations/001-create-hash-system-types.migration.ts:23:39)\n at migrateOntologyTypes (/root/hash/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types.ts:52:24)\n at ensureSystemGraphIsInitialized (/root/hash/apps/hash-api/src/graph/ensure-system-graph-is-initialized.ts:14:3)\n at main (/root/hash/apps/hash-api/src/index.ts:238:3)","status":{"code":"INVALID_ARGUMENT","contents":[],"message":"Ontology type is not external"}}

Only configuration changes are setting a front-end url to the VM's IP address, adding the IP to the allowed URL pattern, and adding a block protocol API key.

To reproduce

No response

Expected behavior

No response

Device

No response

Operating system

No response

Browser

No response

Additional context

No response

@nsvrana nsvrana added area/apps > hash* Affects HASH (a `hash-*` app) category/bug Something isn't working labels Mar 29, 2024
@vilkinsons vilkinsons changed the title hash-api:dev: error: Ontology type is not external H-2481: hash-api:dev: error: Ontology type is not external Apr 4, 2024
@vilkinsons vilkinsons added priority/2 medium Medium priority: needs to be done area/self-hosting Relates solely to users self-hosting HASH labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apps > hash* Affects HASH (a `hash-*` app) area/self-hosting Relates solely to users self-hosting HASH category/bug Something isn't working priority/2 medium Medium priority: needs to be done
Development

No branches or pull requests

2 participants