There's an additional line below this:
```ruby
error("Project creation failed.\nError message: #{project_result['error_message']}")
```

that needs update for s/creation/registration