Import from BitBucket gives error

Summary

Importing a new project from BitBucket causes errors.

Steps to reproduce

New Project >> Import >> BitBucket >> Login >> Import Projects

Gives the flash warning: An error occurred while importing project

What is the current bug behavior?

Importing from BitBucket gives errors.

What is the expected correct behavior?

It should import.

Relevant logs and/or screenshots

Kibana Log returns 422

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

GitLab Enterprise Edition 10.7.1-ee d209ff1