https://discord.gg/botpress logo
Integration: Calling client.getOrCreateMessage ret...
# 🤝help
p
report_01JYM6S14SPFZ1ER67D955EA48 Our integration webhook handler does this when we post it a user message:
Copy code
const { message } = await client.getOrCreateMessage({
          conversationId: conversation.id,
          userId: user.id,
          type: messageType,
          payload: messagePayload,
          tags: { id: messageId },
        });
Usually the value of
message
is a message object but 5-10% of the time it is
"Request failed with status code 502 (Trace ID: 5a4dbcd687faf3e1f864284bbb0af389)"
. Here are some other trace ids to look at: 1. 779c3aa46890630bc26f4bba9773c07b 2. e8dfb5da42b0ccd8bc28c02c54b35b54 3. 5a4dbcd687faf3e1f864284bbb0af389 What's going? Is this a problem on your end or ours? Having 5-10% of messages get dropped is a major headache for us.
2 Views