Trouble handling API fetch timeouts
Posted: Wed May 22, 2019 6:29 pm
Hello,
I'm attempting to create a module that gracefully handles API call timeouts. I am using the "Rest" module, and I've linked the custom error module to a simple prompt that says "Error was encountered". However, when the API takes longer than X seconds (as defined in the application settings "Webservice Timeout"), it doesn't seem to execute the custom error module. Instead it simply hangs up the call. Is there something I'm doing wrong?
Thanks!
I'm attempting to create a module that gracefully handles API call timeouts. I am using the "Rest" module, and I've linked the custom error module to a simple prompt that says "Error was encountered". However, when the API takes longer than X seconds (as defined in the application settings "Webservice Timeout"), it doesn't seem to execute the custom error module. Instead it simply hangs up the call. Is there something I'm doing wrong?
Thanks!