API-1005 on Board views after modifying API alias
search cancel

API-1005 on Board views after modifying API alias

book

Article ID: 226243

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

The Projects Board view throws the below error if the API Attribute ID has been updated for the attribute that sorts the Board columns

Error: API-1005 : Attribute(s) 'z_my_lkp' specified in query parameters are not supported or secured

STEPS TO REPRODUCE:

  1. Create a static list lookup "My lookup" with a couple of values A and B
  2. On Studio > Objects > Project object > Attributes tab
  3. Create a lookup-type attribute
    Provide API Attribute ID: z_my_lkp
  4. Go to Modern UX > Projects
  5. Go to the Board View > View Options
  6. Select the lookup attribute created as Columns
  7. The Boards get aligned correctly.
  8. Go back to the attribute on the project object in Studio
  9. Change the API Attribute ID from z_my_lkp to z_my_lkp_new
  10. On the MUX go back to the Projects Board view

Expected Results: The board view to load correctly.


Actual Results: An error is thrown: API-1005 : Attribute(s) 'z_my_lkp' specified in query parameters are not supported or secured

Environment

Release: 15.9.x, 16.0.x

Cause

This is caused by DE62942

Resolution

This is fixed in version 16.1.0

Workaround: Customers below 16.1.0, Change the API Attribute ID back to its original value, if known. Do not change the API Attribute ID value on other Static List Lookups that can be used on a Board layout. 

In 16.1.0 the expected behavior is the following:

If the z_my_lkp column is selected on the Board view at the time you rename the API Attribute ID, the Board view will still throw the same error. If you refresh the page, the Toast message will disappear, and the z_my_lkp column selected on the Board will vanish. The column will need to be re-added again.

If you are on a different page to the board view, whenever you access the Board view the selected column will not be present and you will need to re-add it.

Additional Information