{ errors: [ { code: 'NAME_REQUIRED', message: 'Name is required' } ] }
Suddenly getting this error using the create org api
I am sending a name in my body
{"name":"IF","is_allow_registrations":true}
const createOrgRes = await fetch(orgUrl, {
method: 'POST',
headers: kindeheaders,
body: JSON.stringify({ "name": customer.customer_name, "is_allow_registrations": true })
});
console.log(JSON.stringify({ "name": customer.customer_name, "is_allow_registrations": true }));
const createOrgData = await createOrgRes.json();
console.log(createOrgData);
it worked few days ago, is anything changed?
I am sending a name in my body
{"name":"IF","is_allow_registrations":true}
const createOrgRes = await fetch(orgUrl, {
method: 'POST',
headers: kindeheaders,
body: JSON.stringify({ "name": customer.customer_name, "is_allow_registrations": true })
});
console.log(JSON.stringify({ "name": customer.customer_name, "is_allow_registrations": true }));
const createOrgData = await createOrgRes.json();
console.log(createOrgData);
it worked few days ago, is anything changed?