If you get this message when you are adding your server to a team to implement continuous integration using Xcode bots and OS X server:
Server encountered an error with Apple Developer.
Please try again later. If the problem persists, contact Apple Developer Technical Support for help.
It could be a red herring. There’s a support note here: https://support.apple.com/en-us/HT203853 that states the issue has to do with making sure you login as an Agent or Admin. That’s probably a valid scenario, but it may not be as in my case. I got this error message simply because an updated program license agreement needed to be accepted on the web portal. Once that was done, I was able to add the server to the team and could continue on.
(Yes, I know it’s April first, but this is not a joke)