Fuse Community

Network connection failed via REST API

Hey guys,

I implemented a REST API, just like in this example: Working with REST APIs

It is working fine when I preview it on my Android device. But if I test it on the local desktop preview I am just getting an error message:

[Viewport]: Error: TypeError: Network request failed

I haven’t found much to solve this. Is this a known issue? Any ideas how to get this working on the local preview?

Hello! Could you provide a working code snippet and the URL of the backend service?

Unfortunately I don’t have the preview version of Fuse to test this, but I’ve seen a lot of troubles with sites using Let’s Encrypt certificates. Can you test it on another site? Maybe someone with the preview could take a look at your code.

I also tested it by temporarily turning SSL off but this just gave me the same result :confused: