Got the same error, seems like invitation service got broken =/
Good to mention that it partially "works", because I'm getting emails "Welcome to the Apple Developer Program" for every accepted invitation. Got about 22 of those in my inbox.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: