301 is not an error, it is a redirect. It is likely that you try to use HTTP instead of HTTPS.
The token is invalid.
The bot can't write to specified chat.
There are can be only one request
setWebhook in a time.
GetUpdates can't be used while webhook is set.
Server errors, need to wait some time and try again.