enough-eve-23105
03/17/2025, 12:37 PMconst res = await axios.post(
'https://api.botpress.cloud/v1/chat/users',
{
name: 'TED',
tags: {
test: 'true',
},
},
{
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
Authorization: `Bearer ${BOTPRESS_API_KEY}`,
'x-bot-id': BOTPRESS_BOT_ID,
}
}
)
return console.log(res);
I get this error:
{
id: 'err_20250317124215xF0AFC65E',
code: 400,
type: 'InvalidPayload',
message: 'Must specify integrationName or integrationId'
}