net::ERR_HTTP2_PROTOCOL_ERROR

I am getting this cors error:
Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined

after pressing ctrl+shift+j : it shows net::ERR_HTTP2_PROTOCOL_ERROR
after spending whole day still i’m not able to solve it. kindly help me.
Thank you in advance.

Hi there!

I did some googling and it seems this issue is likely related to the server/API configuration and/or your version of Chrome.