We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Exception: Http 400 error when sending transactional e-mail

Exception: Http 400 error when sending transactional e-mail

LukaszSzczuka
Tourist
9 0 1

Hello,

 

I've had 3 similar errors in 1 day, when previously everything worked fine. Flow is set up as follows:

- customer makes and order of particular value

- customer chooses particular payment method (0% financing trough third party bank)

- we send a custom transactional e-mail with a third party link to financing form

 

That payment option isn't supported by Shopify so we had to do this that way. It worked fine for about 4 weeks and then yesterday 3 orders that matched the condintions returned the same error:

 (i've "xxx" the relevant infromation regarding e-mail adress and content of the messege)
Exception: Http 400
{"status":400,"response_body":"Incorrect customer info provided","verb":"POST","url":"https://flowmail.intelli-ua.com/api/flow/send-transactional-email","request_body":"{\"shop_id\":77015155024,\"shopify_domain\":\"ba39e1.myshopify.com\",\"properties\":{\"customer_id\":\"gid:\\/\\/shopify\\/Customer\\/8819677561168\",\"subject\":\"xxx\",\"reply_to\":\"xxx\",\"content\":\"xxxxxxxxxx,\"cta_name\":\"\",\"cta_url\":\"\"},\"action_run_id\":\"60f7499aaa7db66d19c96dd4d92c2c13dbcf85b3\",\"action_definition_id\":\"Send transactional email\",\"handle\":\"send-transactional-email\"}"}
 
Any idea what the problem might be?
Replies 4 (4)

paul_n
Shopify Staff
1828 199 435

Possibly there was a change on the app provider's side. There shouldn't be anything different on Flow's side.  

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
LukaszSzczuka
Tourist
9 0 1

Sorry, I don't understand what "app provider's side" means?

paul_n
Shopify Staff
1828 199 435

You are using a third party (app provider) to send that email. You should ask them why it started returning a 400 - nothing you posted suggested a problem with the Customer as it stated, so I doubt the problem is with Flow.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
LukaszSzczuka
Tourist
9 0 1

Ok, I understand. Thank you for clarification.