Gitlab API V3 500 error on project import
I'm trying to use this endpoint as an admin to seed repos, but I am getting an internal server error. Any ideas?
==> /var/log/gitlab/gitlab-rails/production.log <==
Started POST "/api/v3/projects/user/15?name=TestProject&description=Tada%21&default_branch=master&issues_enabled=true&wall_enabled=false&merge_requests_enabled=false&wiki_enabled=false&snippets_enabled=false&visibility_level=0&import_url=http%3A%2F%2Fexample.com%2Frockwotj%2FTestProject.git" for 137.112.249.31 at 2015-12-08 21:11:14 -0500
NoMethodError (undefined method `errors' for nil:NilClass):
/opt/gitlab/embedded/service/gitlab-rails/app/services/projects/create_service.rb:68:in `rescue in execute'
/opt/gitlab/embedded/service/gitlab-rails/app/services/projects/create_service.rb:8:in `execute'
/opt/gitlab/embedded/service/gitlab-rails/lib/api/projects.rb:145:in `block (2 levels) in <class:Projects>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/endpoint.rb:51:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/endpoint.rb:51:in `block (2 levels) in generate_api_method'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/notifications.rb:161:in `instrument'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/endpoint.rb:50:in `block in generate_api_method'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/endpoint.rb:254:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/endpoint.rb:254:in `block in run'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/notifications.rb:161:in `instrument'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/endpoint.rb:219:in `run'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/endpoint.rb:201:in `block in call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/newrelic-grape-2.0.0/lib/newrelic-grape/instrument.rb:21:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/newrelic-grape-2.0.0/lib/newrelic-grape/instrument.rb:21:in `block in call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/newrelic_rpm-3.9.4.245/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:365:in `perform_action_with_newrelic_trace'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/newrelic-grape-2.0.0/lib/newrelic-grape/instrument.rb:20:in `call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/middleware/base.rb:18:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/middleware/base.rb:24:in `call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/middleware/base.rb:18:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/middleware/base.rb:24:in `call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/middleware/base.rb:18:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-oauth2-1.0.10/lib/rack/oauth2/server/resource.rb:20:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-oauth2-1.0.10/lib/rack/oauth2/server/resource/bearer.rb:8:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/middleware/error.rb:27:in `block in call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/middleware/error.rb:26:in `catch'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/middleware/error.rb:26:in `call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/middleware/base.rb:18:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:138:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/endpoint.rb:202:in `call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/endpoint.rb:190:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75:in `optimized_each'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/api.rb:114:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/api.rb:44:in `call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/grape-0.13.0/lib/grape/api.rb:39:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/journey/router.rb:73:in `block in call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/journey/router.rb:59:in `each'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/journey/router.rb:59:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/routing/route_set.rb:692:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-cors-0.4.0/lib/rack/cors.rb:80:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-attack-4.3.0/lib/rack/attack.rb:104:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:35:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/middleware/flash.rb:254:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/middleware/cookies.rb:562:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.12/lib/active_record/query_cache.rb:36:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/callbacks.rb:82:in `run_callbacks'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/rack/logger.rb:38:in `call_app'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/rack/logger.rb:20:in `block in call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/tagged_logging.rb:26:in `tagged'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/tagged_logging.rb:68:in `tagged'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/rack/logger.rb:20:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/request_store-1.2.0/lib/request_store/middleware.rb:8:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/actionpack-4.1.12/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/lock.rb:17:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/engine.rb:514:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/application.rb:144:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/railtie.rb:194:in `public_send'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/railtie.rb:194:in `method_missing'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:138:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/urlmap.rb:65:in `block in call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/urlmap.rb:50:in `each'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rack-1.5.5/lib/rack/urlmap.rb:50:in `call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/unicorn-worker-killer-0.4.3/lib/unicorn/worker_killer.rb:52:in `process_client'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:536:in `maintain_worker_count'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:294:in `join'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/bin/unicorn:23:in `load'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/bin/unicorn:23:in `<main>'
``