Error: "The Value For Tag/attribute 'pcs' Has An Invalid Value" When Creating Project From API Call (Doc ID 2114684.1)

Last updated on MARCH 09, 2016

Applies to:

Instantis EnterpriseTrack - Version 15.1.0.0 and later
Instantis EnterpriseTrack Cloud Service - Version 15.1.1.0 and later
Information in this document applies to any platform.

Symptoms

When trying to make a CRUD API call to create project error message printed in the feedback.
 
ERROR
-----------------------
The value for tag/attribute 'pcs' has an invalid value.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Authentication

Request:
https://account.oracleindustry.com/SiteWand/Submission/account/integration/login?api_name=crud_api&output_type=json&user_login_id=sys_admin&password=password

Response:
{"api_url":"https://account.oracleindustry.com/SiteWand/Submission/F_L65MKF5K8D2DVZXMbghjFFAdiatIBJABIsJUEb","result_code":"SUCCESS","result_reason":""}

Use the api session value reveived in the above response to the below request
(replace the value F_L65MKF5K8D2DVZXMbghjFFAdiatIBJABIsJUEb with one reveived currently)

2. Create Project Call

Request:
https://account.oracleindustry.com/SiteWand/Submission/F_L65MKF5K8D2DVZXMbghjFFAdiatIBJABIsJUEb?request_data={ "global_properties": { "char_set": "UTF-8", "date_format": "MMM/dd/yyyy", "language": "en", "api_version": "15.1" }, "request_data": { "request_type": "create", "entity_type": "project", "output_format": "json", "value_delimiter": "|" }, "app_data": { "project": [{ "project_number": { "display_name": "Project ID", "value": "xx" }, "pcs": { "display_name": "Name", "value": "Valuer" }, "project_name": { "display_name": "Project Name", "value": "Test API" }, "calendar_id": { "display_name": "Calendar", "value": "Standard Calendar" }, "status_descriptor": {}, "dates_descriptor": { "start_date": { "display_name": "Actual Start Date", "value": "" }, "planned_realization_date": { "display_name": "Planned Project Close Date", "value": "" } }, "org_descriptor": { "division": { "display_name": "Region", "value": "" }, "business_unit": { "display_name": "Platform", "value": "" }, "sub_unit": { "display_name": "Business Unit", "value": "" } }, "classification_descriptor": {}, "methodology_descriptor": { "project_type": { "display_name": "Project Type", "value": "" }, "roadmap": { "display_name": "Roadmap", "value": "" } }, "finanace_descriptor": { "currency_code": { "display_name": "Currency", "value": "US Dollar" }, "fintemplateid": { "display_name": "Finance Template", "value": "Cost Tracker Template" } }, "settings_descriptor": {}, "team_member_descriptors": { "team_member_descriptor": [{ "teammember_id": "1", "role": { "display_name": "Project Leader", "value": "Role" }, "resource_descriptor": { "userid": "", "login_id": "", "email": "", "first_name": "", "last_name": "" } }] }, "custom_fields": { "predefined_fields": { }, "runtime_fields": {} } }] }}&request_format=JSON

Response:
{"global_properties": {"char_set": "UTF-8","date_format": "MMM/dd/yyyy","language": "en","api_version": "15.1"},"response_data": {"request_type": "create","entity_type": "project","response_code": "9999","response_desc": "The value for tag/attribute 'pcs' has an invalid value."},"app_data": {"": []}}

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot use CRUD API call to create project.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms