DenoDDeno
Powered by
nicetomytyukN
Denoβ€’2y agoβ€’
5 replies
nicetomytyuk

How to resolve: http2 error: stream error detected: unspecific protocol error detected?

When I try to make a POST request using fetch in DENO I get the error mentioned in the title.

The code:

async activate(company: Company): Promise<void> {
        await fetch('http://xxx.it/db/activate', {
            body: JSON.stringify(company),
            method: 'POST',
        });
    }
async activate(company: Company): Promise<void> {
        await fetch('http://xxx.it/db/activate', {
            body: JSON.stringify(company),
            method: 'POST',
        });
    }
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Error: Not implemented: http2.createSecureServer
domtomsDdomtoms / help
16mo ago
How to resolve this?
Hasan RimawiHHasan Rimawi / help
15mo ago
grpc / http2 / https in fresh.
LikoneLLikone / help
3y ago