What is the difference of fetch api between cloudflare worker and node environment

When using the fetch api of Cloudflare worker, sometimes a 403 error occurs, while there is no such problem when using node environment.



curl https://steamcommunity.com/openid/login?openid.mode=check_authentication

or fetch in nodejs, will get


but fetch in Cloudflare worker will get 403 Forbidden

There’s no difference. What might happen in this case is that you are running into a sort of rate limiting, as other people might also send requests to that site from Cloudflare.

However, that’s something you can clarify only with the site owners, as it’s them who send the 403.

1 Like

All, if not most, of Steam’s websites return 403 responses to Workers.

That’s something that only Steam can change, like Sandro said.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.