Error creating organization or adding user: A [ApiError]: Error creating user.
at xt (webpack-internal:///(rsc)/./node_modules/@kinde/management-api-js/dist/kinde-management-api-js.cjs:1:25453)
at eval (webpack-internal:///(rsc)/./node_modules/@kinde/management-api-js/dist/kinde-management-api-js.cjs:1:26058)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
url: 'https://{your_subdomain}.kinde.com/api/v1/organization',
status: 400,
statusText: 'Bad Request: malformed Host header',
body: '400 Bad Request: malformed Host header',
request: {
method: 'POST',
url: '/api/v1/organization',
body: { name: 'test-org', handle: 'test-org' },
mediaType: 'application/json',
errors: {
'400': 'Error creating user.',
'403': 'Invalid credentials.',
'429': 'Request was throttled.',
'500': 'Could not create organization.'
}
}
}
Error creating organization or adding user: A [ApiError]: Error creating user.
at xt (webpack-internal:///(rsc)/./node_modules/@kinde/management-api-js/dist/kinde-management-api-js.cjs:1:25453)
at eval (webpack-internal:///(rsc)/./node_modules/@kinde/management-api-js/dist/kinde-management-api-js.cjs:1:26058)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
url: 'https://{your_subdomain}.kinde.com/api/v1/organization',
status: 400,
statusText: 'Bad Request: malformed Host header',
body: '400 Bad Request: malformed Host header',
request: {
method: 'POST',
url: '/api/v1/organization',
body: { name: 'test-org', handle: 'test-org' },
mediaType: 'application/json',
errors: {
'400': 'Error creating user.',
'403': 'Invalid credentials.',
'429': 'Request was throttled.',
'500': 'Could not create organization.'
}
}
}