Skip to main content
Level 2
Oct 12, 2023 12:58 PM UTC
Solved

FlowBoost FBHttp.fetch problem

@sanfordwhiteman 

We're using FlowBoost to request and distribute codes for vouchers and promotional activies, etc. But it's not working since yesterday. It was working fine previously (up until 2 days ago).

 

Currently we're using FBHttp.fetch(URL).then(async () => { SOME_ASYNC_CODE })  which fails with the error {"name":2460,"code":"","err":"TypeError: Class extends value async function fetch(resource) {\n try {\n return await fetchImpl(...arguments);\n } catch (err) {\n Error....<omitted>...\n} is not a constructor or null"} 

 

Any insights?

SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Oct 13, 2023 8:41 PM UTC

For the lurkers: there was indeed a momentary bug in the limited version of FlowBoost’s FBHttp.fetch for Community keys (not affecting Standard/Pro users). It’s fixed now.

3 replies

SanfordWhiteman
User Group Leader
User Group Leader
Oct 12, 2023 2:53 PM UTC

No problems in our infra but we did recently upgrade FBHttp.fetch to use the native Fetch API. It looks like you might’ve had some code that coincidentally only worked with the old userland Fetch implementation.

 

If you send the webhook payload to our support address I’ll look into it further for you.

Translate
TomH1Author
Level 2
Oct 12, 2023 3:38 PM UTC

Thanks Sanford!

Translate
SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Oct 13, 2023 8:41 PM UTC

For the lurkers: there was indeed a momentary bug in the limited version of FlowBoost’s FBHttp.fetch for Community keys (not affecting Standard/Pro users). It’s fixed now.

Translate