I'm having an issue when trying to create a Domain...
# troubleshoot
m
I'm having an issue when trying to create a Domain with my own id. After hitting the create button, two toaster panels pop up, one saying 'Domain created', the other with an error 'Failed to create domain: Failed to fetch'. If you do a browser reload after this, the site is unavailable for some time. The browser console logs two
ERR_CONNECTION_RESET
errors in createHttpLink.ts:145, that occurred when calling the graphql api. The query is:
Copy code
{
  "operationName": "createDomain",
  "variables": {
    "input": {
      "id": "foobar-domain-id",
      "name": "FOOBAR",
      "description": "FOOBAR Description"
    }
  },
  "query": "mutation createDomain($input: CreateDomainInput!) {\n  createDomain(input: $input)\n}\n"
}
There is nothing in the datahub-gms logs. Is this a bug? How can I use my own ID for a Domain?
d
How do you try to create the domain? What do you mean in creating your own id?
m
via the UI. There's a section 'Advanced' that allows you to use your own ID, so you don't have to pass the guid when ingesting.
As far as reproducability goes... it failed several times over the course of several hours, but now it no longer fails 😕 So I tried to reproduce this in a clean datahub quickstart, and that never fails either. Should I encounter it ever again, I'll try to understand what lead up to it.
d
cc @big-carpet-38439
m
FYI: it turns out this was caused by an issue with a loadbalancer. approx 1 out of 3 calls would fail. so nothing datahub related
d
thanks for the heads up