MC-API / Issues

Public issue tracker for mc-api.net
https://mc-api.net
2 stars 0 forks source link

Solution for User-agent 403 errors #29

Closed njb-said closed 8 years ago

njb-said commented 8 years ago

After a conclusion on #17, I am going to:

I am also going to rewrite the java client for mc-api to be more diverse and lightweight (hopefully) You can find the java client here. And the documentation (you can contribute) here

tl;dr - You need to make sure your API requests have a valid User-agent field otherwise cloudflare blocks it.

njb-said commented 8 years ago

I have edited cloudflare's settings, I am going to monitor it for a few days.

nathantowell commented 8 years ago

Follow up: After trying a few days I have failed to get any 403 errors from the US or EU servers. Looks like changing the user-challenge has solved this.