wix fetch error

wix fetch is giving following error. It was working fine till yesterday. Same error is also there in your wix code main page “https://www.wix.com/code/home”. See “console tab” in browser’s developer tool.

TypeError: (0 , _wixFetch.fetch) is not a function
at _log (bi.js:17)
at Object.log (bi.js:29)
at bi.js:1
at readyManager.es6:11
at i (readyManager.es6:23)
at readyManager.es6:44
at Array.map ()
at a (readyManager.es6:44)
at Object.l [as triggerOnReady] (readyManager.es6:57)
at startHandler.js:54

I don’t get that error on the WIX site, can you send some code to see if there has been any changes to the fetch method? Remember that being inside a beta program means that things can be changed from day to day :slight_smile:

@Andreas Kviby, see console in developer tool of chrome or microsft edge. I still see this error in developer tool console.

Here is my code

import {fetch} from ‘wix-fetch’;
const url = https://someurl.com;
fetch(url, {
method: ‘post’,
mode: ‘no-cors’,
credentials: ‘include’,
headers: {
‘Content-Type’: ‘application/x-www-form-urlencoded’
}
}
);

Thank you for the report! We are on it.

Hi, the issue was resolved about an hour ago. Of you still encounter it, please let us know. Thanks!