Perhaps check https://docs.joinmastodon.org/methods/follow_requests/, to start? I know my follow requests from Mastodon are ending up on pending.
@bender@twtxt.net Unfortunately this doesn’t really help me, but a log line you posted earlier does, looks like Mastodon is returning a 401 Unauthorised
somewhere… Hmmm…