No follower alert

When someone follows me on Twitch, I don’t see it in the event list and there is nothing in the log.
That’s the only error I see, but it shouldn’t have anything to do with it.


2022-01-14T20:00:49.611 +cheer ref123455#407866226, bits: 9, message:
2022-01-14T20:00:49.628 | Event cheer with attributes {"userName":"ref123455","userId":"407866226","bits":9,"message":"","is":{"moderator":true,"subscriber":true,"vip":false,"broadcaster":false,"bot":false,"owner":false}} is triggered and running of operations.
2022-01-14T20:00:50.099 !!! ERROR !!! Possibly Unhandled Rejection at: Promise {
  <rejected> [HttpStatusCodeError: Encountered HTTP status code 403: Forbidden
  
Body:
  {"error":"Forbidden","status":403,"message":"code:\"USER_UNAUTHORIZED\" message:\"Not authorized to create a stream marker for channel robotter112....] {
    _statusCode: 403,
    _body: '{"error":"Forbidden","status":403,"message":"code:\\"USER_UNAUTHORIZED\\" message:\\"Not authorized to create a stream marker for channel robotter112.\\" "}'
  }
} reason: HttpStatusCodeError: Encountered HTTP status code 403: Forbidden

Body:
{"error":"Forbidden","status":403,"message":"code:\"USER_UNAUTHORIZED\" message:\"Not authorized to create a stream marker for channel robotter112....

This error means that your bot is not set as editor to your stream and cannot create marker. This is not related to your issue.

Checking though what might be wrong

I fixed some inconsistency on bot follow event trigger for 14.11.1. Although

  1. Bot will check only 2 hours old follows
  2. Bot won’t trigger follow event if same event occured within 1 hour.

Let me know if that fixed your issue.

So far, unfortunately, it still does not work. But I don’t see anything like that in the log.

I am pretty sure follow events are working, is it just specific user? can you run bot with DEBUG=api.interval to see what apis are called?

That’s the only thing I get back from the API in terms of follow.

2022-01-28T17:49:37.638 DEBUG: api.interval getLatest100Followers() check
2022-01-28T17:49:37.638 DEBUG: api.interval getLatest100Followers() start
2022-01-28T17:49:37.854 DEBUG: api.interval getLatest100Followers(time: 215) {"state":true}
2022-01-28T17:49:37.855 DEBUG: api.interval getLatest100Followers() done, value:{"state":true}
2022-01-28T17:49:37.855 DEBUG: api.interval getLatest100Followers() unblocked.
2022-01-28T17:49:47.255 DEBUG: api.interval getLatest100Followers() check
2022-01-28T17:49:47.256 DEBUG: api.interval getLatest100Followers() skip run, lastRunAt: 1643388577855
2022-01-28T17:49:57.257 DEBUG: api.interval getLatest100Followers() check