SOLVED

Re: FlowBoost FBHttp.fetch problem

Go to solution
TomOMC
Level 1

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: FlowBoost FBHttp.fetch problem

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.

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: FlowBoost FBHttp.fetch problem

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.

TomOMC
Level 1

Re: FlowBoost FBHttp.fetch problem

Thanks Sanford!

SanfordWhiteman
Level 10 - Community Moderator

Re: FlowBoost FBHttp.fetch problem

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.