BeefreeSDK / beefree-sdk-npm-official

Official NPM package of Beefree SDK
https://developers.beefree.io
Apache License 2.0
19 stars 7 forks source link

Editor fails to load any template (error from https://bee-bumper.getbee.io/v2/bump) #135

Closed danielickes closed 7 months ago

danielickes commented 7 months ago

Up until now we've used the Bee SDK and it worked just fine but at the moment we're getting following error when we try to load any template into the editor:

code : 2200
message : "cannot decode json value of type string into field that is type bumper.extraFields"
status_code : 400

The behavior can be reproduced in both Page and Email editor. We initialize the editor in the following way:

async initBee(beeConfig: any, token: BeeToken) {
        this.beeInstance = new BeePlugin({ access_token: token.beeToken, v2: true, status: TokenStatus.OK });
        await this.beeInstance
            .start(beeConfig, this.assetJson, "", { shared: false })
            .then(() => {
                this.pluginLoading = false;
                this.isInitialized = true;
            });
    }

We didn't change anything on our side. Also setting the parameter v2 to false doesn't change anything (the request is still going to https://bee-bumper.getbee.io/v2/bump)

Here some screenshots:

Screenshot 2024-02-01 152757 Screenshot 2024-02-01 152823

image

pinkynrg commented 7 months ago

@DanielIckes, a hot-fix has been just deployed. Please attempt to load the message again; the issue should resolve itself.

danielickes commented 7 months ago

@pinkynrg can confirm that it's working now. Thank you.