https://discord.gg/botpress logo
RelationConflict
# 🤝help
l
report_01J2K1J8GGNBCZVNMR43BSN3Q5 This bot was not used for some time, at first it just won't respond. it will only respond from the emulator and not even from the chat option within the dashboard. I had to publish the bot for it to start responding. But then, the workflow started throwing up error at a particular point. I added a console.log code to debug, but the bot stopped publishing
Copy code
[whatsapp] Failed to generate messages for sending to Whatsapp. Reason: Q [Error]: Integration "b98f4c5f-cfed-4e47-b45e-c6e2c9415a78" is not associated with the bot "68bf6a44-b784-4486-a3b4-eaf3d90d86a2"
    at Se (/var/task/customer_code.js:11:79915)
    at X (/var/task/customer_code.js:11:79738)
    at m (/var/task/customer_code.js:11:95621)
    at /var/task/customer_code.js:11:82526
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ack (/var/task/customer_code.js:11:105391)
    at async send (/var/task/customer_code.js:37:111647)
    at async sendMany (/var/task/customer_code.js:37:111946)
    at async choice (/var/task/customer_code.js:37:113872)
    at async /var/task/customer_code.js:37:39211 {
  isApiError: true,
  code: 409,
  description: "The resource is related with a different resource that the one referenced in the request. This is usually caused when providing two resource identifiers that aren't linked together.",
  type: 'RelationConflict',
  error: undefined,
  id: 'err_20240712082842xEA779619'
}
When publishing the bot gave this error Unable to publish the bot, says has reached usage limit. It is nowhere near the usage limit "Bot with ID 68bf6a44-b784-4486-a3b4-eaf3d90d86a2 is blocked. This is probably because it has reached its usage limit." The use limit when submitting the code is => Incoming Messages & Events 525 of 12K * Update the publishing error has gone away, but the RelationConflict continues to exist @cold-motherboard-82208 please check
@fresh-fireman-491 can you check this
the error occurs exactly at the same place Jul 12, 2024, 1:58:42 PM [whatsapp] Successfully sent interactive message from bot to Whatsapp: Interactive { action: ActionButtons { buttons: [ [Button], [Button] ] }, type: 'button', body: Body { text: 'Do you have a discount code?' }, header: undefined, footer: undefined } Jul 12, 2024, 1:58:42 PM [whatsapp] Failed to generate messages for sending to Whatsapp. Reason: Q [Error]: Integration "b98f4c5f-cfed-4e47-b45e-c6e2c9415a78" is not associated with the bot "68bf6a44-b784-4486-a3b4-eaf3d90d86a2" Jul 12, 2024, 2:55:24 PM [whatsapp] Successfully sent interactive message from bot to Whatsapp: Interactive { action: ActionButtons { buttons: [ [Button], [Button] ] }, type: 'button', body: Body { text: 'Do you have a discount code?' }, header: undefined, footer: undefined } Jul 12, 2024, 2:55:24 PM [whatsapp] Failed to generate messages for sending to Whatsapp. Reason: Q [Error]: Integration "b98f4c5f-cfed-4e47-b45e-c6e2c9415a78" is not associated with the bot "68bf6a44-b784-4486-a3b4-eaf3d90d86a2" https://cdn.discordapp.com/attachments/1261241851910819931/1261253645308264471/image.png?ex=6692497e&is=6690f7fe&hm=c3971fd25e65fff3c4ab94ec5164f7aea8993b49eba8dd009329e6b9a491e982&
f
Can you make sure that you are on the latest version of the WhatsApp integration
If you are then note down all of the information from the WhatsApp integration settings, delete it and reinstall it
l
@fresh-fireman-491 it is on the latest version, I will reinstall it, but the issue of the bot being blocked is occurring with others as well
@fresh-fireman-491 WhatsApp integration wont uninstall from dashboard
i get a timeout
I am only able to enable/disable the integration
I added a new bot, the step started fine and the first 2 integrations were made live. However, the third and fourth started giving the same error
the bot was published once and then it wont
I have other workspace, where there is no problem
This is a bot running for 5 months now and suddenly there was a change in conversation ID when the webhook received the data, causing the issue. This bot was never touched post it was published for production 🙂
f
I am really not sure what is going on. I don't have my laptop with me on holiday so I can't test this. Have you noticed anyone else with the same problem?
l
@fresh-fireman-491 : Not this, I don't know if they are related, but I still cannot activate my webchat and slack integrations
I continue to get this error message
f
Let me know if they were able to help you in the daily Ama
l
Rob is helping me out, thank you @fresh-fireman-491
w
Hello i am currently working on a whatsapp bot integration, i wanted to format my bot response as a card in order to send an interactive button (to clear the conversationId and start a new one), this is a screenshot of what i did and i get this error on my logs: error: ss [Error]: data/actions/0/action must be equal to one of the allowed values can someone help me out ? thank you ! https://cdn.discordapp.com/attachments/1261241851910819931/1267503914308075720/image.png?ex=66a90682&is=66a7b502&hm=638acfdced0cb4f300c758d3b82e260aca4033f43e861a13ec056a2dc63d02e7&
4 Views