1 year ago
#371129
IVAN DANIEL BARON CARVAJAL
Good evening, I have an error and I don't know why. "name with value "[object Object]" must be of type string" must be of type string
This is the variable (GRUPO_PERSONAS_ID)
const GRUPO_PERSONAS_ID = 'my-unique-person-group'
console.log('-----------------------------------------');
console.log('Person group');
await client.personGroup.create(GRUPO_PERSONAS_ID, {
'name': GRUPO_PERSONAS_ID
})
.then(() => {
})
.catch((err) => {
console.log(err)
throw err
})
The previous code is the only one that I use, in fact I do not understand but it generates the following error: enter image description here
name with value "[object Object]" must be of type string.
javascript
html
object
face
0 Answers
Your Answer