none
Unable to create a Project using PSI: CustomFieldRequiredValueNotProvided Error RRS feed

  • Question

  • Hi,

    I am creating a project uing PSI. While creating the project using PSI, I am also creating custom fields and setting values for the custom fields. I added all the mandatory custom fields to the Project, before creating Project using PSI.

    The following error message is displayed in the logs:

    “ProjectServerError(s) LastError=CustomFieldRequiredValueNotProvided Instructions: Pass this into PSClientError constructor to access all error information

    I m unable to trace the custom field that is causing this issue. I am unable to get the XML fiel sent while creating project.

    I am looking for hep to debug this issue. An help in this regard will be appreciated.

    Friday, December 5, 2014 7:18 PM

Answers

  • Hi Abhijit,

    I think you need to pay attention to custom fields data types, for example if the required field is number field, yuo have to set number ( newCustomFieldRow.NUM_VALUE ) value not text value ( newCustomFieldRow.TEXT_VALUE ). and this applies for dates  too. (newCustomFieldRow.DATE_VALUE).

    for lookup tables you have to use newCustomFieldRow.CODE_VALUE



    Twitter : @MShoubaki | http://jo.linkedin.com/in/mshoubaki

    • Marked as answer by Abhijit PS Sunday, December 7, 2014 4:49 PM
    Sunday, December 7, 2014 10:26 AM