The Authorization code and Client credentials OAuth 2.0 flow types are deprecated.
Flow type is being set to Authorization code or Client credentials, both of which are deprecated.
Set the OAuth 2.0 flow type to Resource server.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.