https://discord.gg/botpress logo
not able to create user using runtime api
# 🤝help
b
api : https://api.botpress.cloud/v1/chat/users auth using bp_pat_token request payload
Copy code
{
  "tags": {},
  "integrationName": "webchat",
  "name": "Test User"
}
response
Copy code
{
  "id": "err_20250422162037xA96A4758",
  "code": 400,
  "type": "InvalidPayload",
  "message": "The provided UUID is invalid"
}
o
If you place the integrationName in the tags do you still get the same error? Ex:
Copy code
ts
{
  "name": "Test User",
  "tags": {
    "integrationName": "webchat"
  }
}
b
yes, same error. But if I add x-bot-id in the request headers then I get
Copy code
{
  "id": "err_20250424053543xE61D44D4",
  "code": 403,
  "type": "Forbidden",
  "message": "Bot \"43f8ed5a-bc87-45c0-b9cf-DUMMYYXX\" cannot create users for integration \"webchat\""
}
Hi @orange-egg-72655 ultimately I'm trying to do this https://discord.com/channels/1108396290624213082/1364848697074257991
o
@brainy-car-93138 Leanne answered you there! Go take a look!
5 Views