Skip to main content
Solved

HTTP Status in external requests


Marc

Hey folks,

we are using a lot of external request with a REST API and we want to see or work with the error codes of the http status.

For instance, if everything is fine, we get an http 200. 

When we have a internal server error from the rest backend we get an http 500 for example and want to send an error message to the chat. 

Currently our workaround would be sending the error message in a valid json back, which is not intended to be done in REST Calls. 

Because its not 100% possible in every use case.

So we want to have access to the http status while designing the flows and react with conditions to the flow

Thanks and best regards

Marc

Best answer by Marc

Gustavo Boregio wrote:

Yes sir!

Iโ€™ve just added this as a feature request here: 

https://community.manychat.com/ideas/http-status-in-external-requests-666

 

 

Thanks! Just upvoted it :)

We worked around with this:

The Request fills a CUF. If the request fails the CUF remains empty. With a condition in front we check if the CUF has any value. If not, the flow abords.

We have to clear for that workaround the CUF at the beginning of the flow

View original

Gustavo Boregio
Forum|alt.badge.img+6

Yes sir!

Iโ€™ve just added this as a feature request here: 

https://community.manychat.com/ideas/http-status-in-external-requests-666

 

 


Marc
  • Up-and-Comer
  • March 9, 2024
Gustavo Boregio wrote:

Yes sir!

Iโ€™ve just added this as a feature request here: 

https://community.manychat.com/ideas/http-status-in-external-requests-666

 

 

Thanks! Just upvoted it :)

We worked around with this:

The Request fills a CUF. If the request fails the CUF remains empty. With a condition in front we check if the CUF has any value. If not, the flow abords.

We have to clear for that workaround the CUF at the beginning of the flow


Gustavo Boregio
Forum|alt.badge.img+6

Yes, thatโ€™s my workaround also!

 

 


jrbraz
  • Up-and-Comer
  • February 5, 2025

How do I use this CUF?


jrbraz
  • Up-and-Comer
  • February 5, 2025

I already got it


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings