# Project Creation Failed

**URL:** <https://community.forestadmin.com/t/project-creation-failed/1014>\
**Category:** Help me!\
**Created:** [September 22, 2020, 12:45pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014 "2020-09-22T12:45:12Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![avarnon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/avarnon/32/826_2.png) [@avarnon](https://community.forestadmin.com/u/avarnon)\
**Post date:** [September 22, 2020, 12:45pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014/1 "2020-09-22T12:45:12Z")

</div>

## Expected behavior

A project is created from [http://app.forestadmin.com/new-project](http://app.forestadmin.com/new-project)

## Actual behavior

I receive a toast stating “Project creation failed: Cannot create the project”. When I run the Chrome developer toolbar I can see a 422 response coming back.

## Failure Logs

POST [https://api.forestadmin.com/api/projects](https://api.forestadmin.com/api/projects) 422 (Unprocessable Entity)  
{“errors”:[{“status”:422,“detail”:“Cannot create the project”,“meta”:{}}]}

## Context

Please provide any relevant information about your setup.

- Project Name: avarnon Test

---

<div class="post-metadata">

**Author:** ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)\
**Post date:** [September 22, 2020, 1:18pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014/2 "2020-09-22T13:18:42Z")

</div>

Hi @avarnon,

Welcome to the Forest Admin community!

I am afraid I cannot reproduce this issue.  
I personally tried with a random project name and with “avarnon Test” and it creates a project as expected.

The technical error message is not really explicit, but it looks like it is due to an unexpected error.

Does it generate a 422 whatever the project name you submit?

---

<div class="post-metadata">

**Author:** ![avarnon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/avarnon/32/826_2.png) [@avarnon](https://community.forestadmin.com/u/avarnon)\
**Post date:** [September 22, 2020, 1:20pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014/3 "2020-09-22T13:20:10Z")

</div>

arnaud, thank you for your response. It does create a 422 no matter the project name. I also tried with Firefox with but see the same issue.

---

<div class="post-metadata">

**Author:** ![avarnon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/avarnon/32/826_2.png) [@avarnon](https://community.forestadmin.com/u/avarnon)\
**Post date:** [September 22, 2020, 2:15pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014/4 "2020-09-22T14:15:30Z")

</div>

Some additional information: I created a new email address then created a new Forest Admin account. It seems there is an issue with my account @ Forest Admin.

---

<div class="post-metadata">

**Author:** ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)\
**Post date:** [September 22, 2020, 2:26pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014/5 "2020-09-22T14:26:09Z")

</div>

I am not sure to understand your last message.  
Did you eventually manage to create a project with your new Forest Admin account?

---

<div class="post-metadata">

**Author:** ![avarnon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/avarnon/32/826_2.png) [@avarnon](https://community.forestadmin.com/u/avarnon)\
**Post date:** [September 22, 2020, 2:27pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014/6 "2020-09-22T14:27:49Z")

</div>

arnaud, I was able to create the project with a new account but this isn’t what I ultimately want. I want to create the project with my original account. I was just confirming that there is an issue with my account and not with the project name.

---

<div class="post-metadata">

**Author:** ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)\
**Post date:** [September 22, 2020, 3:20pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014/7 "2020-09-22T15:20:48Z")

</div>

Ok, I’ll dig into your first account to see if there is something unusual.

---

<div class="post-metadata">

**Author:** ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)\
**Post date:** [September 22, 2020, 3:54pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014/8 "2020-09-22T15:54:57Z")

</div>

Ok, I think I found the issue.

It looks like you created a project (“My Pelotonia”), as the first developer, with your account and have then been removed of this project.

A constraint in our database refuse another project creation in this scenario.  
Let us find a proper way to fix this and go back to you.

As a workaround, you can create your project with your new account and invite the old one to join it.

Thanks for your patience.

---

<div class="post-metadata">

**Author:** ![avarnon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/avarnon/32/826_2.png) [@avarnon](https://community.forestadmin.com/u/avarnon)\
**Post date:** [September 22, 2020, 3:58pm UTC](https://community.forestadmin.com/t/project-creation-failed/1014/9 "2020-09-22T15:58:14Z")

</div>

arnaud, thank you for the information. I’m looking forward to seeing if my account can be fixed and will use the workaround if not.

---

<div class="post-metadata">

**Author:** ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)\
**Post date:** [September 28, 2020, 6:37am UTC](https://community.forestadmin.com/t/project-creation-failed/1014/10 "2020-09-28T06:37:39Z")

</div>

Hi @avarnon  
The fix should be live in 30 minutes.

Let us know

---

<div class="post-metadata">

**Author:** ![avarnon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/avarnon/32/826_2.png) [@avarnon](https://community.forestadmin.com/u/avarnon)\
**Post date:** [September 28, 2020, 11:31am UTC](https://community.forestadmin.com/t/project-creation-failed/1014/11 "2020-09-28T11:31:46Z")

</div>

@arnaud, thank you! I can create a project again.
