Page 1 of 1

Trouble handling API fetch timeouts

Posted: Wed May 22, 2019 6:29 pm
by jparnell
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!

Re: Trouble handling API fetch timeouts

Posted: Thu May 23, 2019 2:01 pm
by support
Hello,

Thanks for your question. This is a known bug that will be addressed and fixed in the next Fuse+ Platform Update, which is expected to be released early June. We do want to make sure this is related to the fix, so if you'd like to DM us the application name and some call examples, we'd be glad to double-check for you. Additionally we will let you know when the platform update is released so that you may retest!

Regards,
Plum Support

Re: Trouble handling API fetch timeouts

Posted: Thu May 23, 2019 2:35 pm
by jparnell
Perfect, thanks for the reply. I'll re-test when the June update is ready.