Cloudkibo / KiboPush

0 stars 1 forks source link

Sentry error when receiving checkout link with big commerce chatbot #10633

Closed bjafri5 closed 3 years ago

bjafri5 commented 3 years ago

Title This occurred after receiving checkout link after proceeding to checkout on the WhatsApp BigCommerce chatbot on Twilio.

Repro Steps

  1. Add any item to your cart using BigCommerce chatbot on WhatsApp Twilio
  2. Proceed to Checkout
  3. Once checkout link is received, this error occurs

Sentry StackTrace and Sentry Link https://sentry.io/organizations/cloudkibo/issues/2080871775/?project=292307

Events: 2

Users: 0

Last Seen: 1 minute ago

First Seen: 30 minutes ago

Environment: Staging

Server_Name: KiboChat

Page Name: N/A

Subscriber Name: Baqar

User Name: N/A

IP: N/A

Front End or Backend End issue? Backend

Additional Data

Screenshot 2020-12-09 at 5 34 56 PM
sentry-io[bot] commented 3 years ago

Sentry issue: KIBOPUSH-2WB

bjafri5 commented 3 years ago

This was occurring when the open graph scraper tried to parse a url which is on the same server. This was happening for bigcommerce urls because they first redirect to kibochat and then to the bigcommerce url. I have added logic to parse the redirected url, so this error should no longer occur.

@arveenkumar55 please test on staging

arveenkumar55 commented 3 years ago

working fine on staging

bjafri5 commented 3 years ago

@arveenkumar55 please test on production

arveenkumar55 commented 3 years ago

working fine on production