Creating an OAuth application with all of the scopes provided results in a 500 error
On GitLab.com, creating an OAuth application with all of the scope options selected, results in a 500 error. Selecting any smaller subset (even 1 less than max allowed) successfully creates and OAuth app.
Looking at the logs https://log.gprd.gitlab.net/app/r/s/OqEFX, it seems we are hitting a DB constraint on writing the scopes. Stack added as internal comment