FlowBoost FBHttp.fetch problem | Community
Skip to main content
Level 2
October 12, 2023
Solved

FlowBoost FBHttp.fetch problem

  • October 12, 2023
  • 1 reply
  • 1492 views

@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?

Best answer by SanfordWhiteman

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.

1 reply

SanfordWhiteman
Level 10
October 12, 2023

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.

TomH1Author
Level 2
October 12, 2023

Thanks Sanford!

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
October 13, 2023

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.