# Parameter.CreateSharedParameter operation failed. Invalid parameter type

**URL:** <https://forum.dynamobim.com/t/parameter-createsharedparameter-operation-failed-invalid-parameter-type/50326>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [May 6, 2020, 10:52pm UTC](https://forum.dynamobim.com/t/parameter-createsharedparameter-operation-failed-invalid-parameter-type/50326 "2020-05-06T22:52:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![matheus\_dariva](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/matheus_dariva/32/85082_2.png) [@matheus\_dariva](https://forum.dynamobim.com/u/matheus_dariva)\
**Post date:** [May 6, 2020, 10:52pm UTC](https://forum.dynamobim.com/t/parameter-createsharedparameter-operation-failed-invalid-parameter-type/50326/1 "2020-05-06T22:52:20Z")

</div>

I have some problems with the “Parameter Type” while using the Parameter.CreateSharedParameter or Parameter.AddSharedParameter nodes. Why is “Text” an invalid Parameter Type? I also tried the Select Parameter Type node, but it ends in the same Issues. Look the imagens below:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7e61d8f64018798c1f28106f579d84c364ab71c6.png)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/c/1cef4c476c069be72d3cb91025743aa3e88388ba.png)

---

<div class="post-metadata">

**Author:** ![Joelmick](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joelmick/32/93148_2.png) [@Joelmick](https://forum.dynamobim.com/u/Joelmick)\
**Post date:** [May 7, 2020, 6:52pm UTC](https://forum.dynamobim.com/t/parameter-createsharedparameter-operation-failed-invalid-parameter-type/50326/2 "2020-05-07T18:52:00Z")

</div>

Weird Error, It says the ParameterType is wrong, but it is actually the Group and Groupname.  
Try switching those.

 ![Untitled](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/3/538cb3abef8cafe7e10eab5aed454582a7fab320.png)

---

<div class="post-metadata">

**Author:** ![jwroelofs](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jwroelofs/32/55712_2.png) [@jwroelofs](https://forum.dynamobim.com/u/jwroelofs)\
**Post date:** [May 7, 2020, 7:32pm UTC](https://forum.dynamobim.com/t/parameter-createsharedparameter-operation-failed-invalid-parameter-type/50326/3 "2020-05-07T19:32:28Z")

</div>

The string with : I think a parameter can not have that charater

---

<div class="post-metadata">

**Author:** ![csowers](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@csowers](https://forum.dynamobim.com/u/csowers)\
**Post date:** [May 9, 2020, 1:10pm UTC](https://forum.dynamobim.com/t/parameter-createsharedparameter-operation-failed-invalid-parameter-type/50326/4 "2020-05-09T13:10:44Z")

</div>

I ran into this same error with an Orchid node but the problem turned out not to be the type category. It’s probably actually your Group input. I assume “Dados” is a translation for Data (?), so you need the Revit internal group name of “PG\_DATA”. Make sure it is all capitalized.

---

<div class="post-metadata">

**Author:** ![AAU\_AdamPiaskowski](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AAU\_AdamPiaskowski](https://forum.dynamobim.com/u/AAU_AdamPiaskowski)\
**Post date:** [April 27, 2022, 11:50am UTC](https://forum.dynamobim.com/t/parameter-createsharedparameter-operation-failed-invalid-parameter-type/50326/5 "2022-04-27T11:50:51Z")

</div>

Hi Guys,  
I have this script working in Revit 2021 with no issues, but in R2022, it seems that there is an error. What has changed between the two [Orchid](https://github.com/erfajo/OrchidForDynamo/issues) versions @erfajo , or else, has anyone noticed?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/f/7f7ce28bb36abc1d38c8040ed7983f337cb87957.jpeg)  
Thanks!

---

<div class="post-metadata">

**Author:** ![plp.bcn](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@plp.bcn](https://forum.dynamobim.com/u/plp.bcn)\
**Post date:** [December 1, 2024, 10:40pm UTC](https://forum.dynamobim.com/t/parameter-createsharedparameter-operation-failed-invalid-parameter-type/50326/6 "2024-12-01T22:40:40Z")

</div>

Hi Adam,

Were you able to solve it? I have the same problem.

Thanks
