API-1005 : Attribute(s) 'resourceType' specified in query parameters are not supported or secured.
search cancel

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

book

Article ID: 441248

calendar_today

Updated On:

Products

Clarity FedRAMP Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

API-1005 : Attribute(s) 'resourceType' specified in query parameters are not supported or secured > error received when accessing the MUX Resources workspace
 
STEPS TO REPRODUCE:
 
  1. Go to MUX > Resources > Add filter
  2. Add Resource Type = Labor
  3. Save the view and set it as Standard for everyone
  4. Administration > Attributes > Filter by the Resource object
  5. Secure the Resource type field and do not grant access to anyone
  6. Go back to the Resources Workspace
  7. The default view is loaded
 
Expected Results: The view is loaded and resources can be filtered down 
Actual Results: API-1005 : Attribute(s) 'resourceType' specified in query parameters are not supported or secured.
 
Log file error:
ERROR 2026-05-21 05:25:43,987 [http-nio-8080-exec-621] ppm.rest (clarity:myuser:mysession:PPM_REST_API)
com.ca.ppm.rest.exception.BadRequestException: API-1005 : Attribute(s) 'resourceType' specified in query parameters are not supported or secured.
at com.ca.platform.osf.object.rest.adapter.ODataODFObjectAdapter.populateSelect(ODataODFObjectAdapter.java:1094)
at com.ca.platform.osf.object.rest.adapter.ODataODFObjectAdapter.populateQueryInfo(ODataODFObjectAdapter.java:817)
at com.ca.platform.osf.object.rest.adapter.ODataODFObjectAdapter.getObjectInstances(ODataODFObjectAdapter.java:304)
at com.ca.platform.osf.object.rest.adapter.ODataODFObjectAdapter.getObjectInstances(ODataODFObjectAdapter.java:274)
at com.ca.platform.osf.object.rest.provider.ODFResourceProvider.getResources(ODFResourceProvider.java:2127)
at com.ca.platform.osf.object.rest.provider.ODFResourceProvider.getEntities(ODFResourceProvider.java:274)
at com.ca.ppm.rest.resource.BaseResourceHandler.retrieveResources(BaseResourceHandler.java:293)
at com.ca.ppm.rest.resource.BaseResourceHandler.retrieveResources(BaseResourceHandler.java:253)
at com.ca.ppm.rest.resource.ResourceHandler.getResources(ResourceHandler.java:118)
at jdk.internal.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
 

Environment

Clarity 16.4.2.0

Cause

This is caused by DE197803

Workaround
Mark the field's View Access = All Users.  This will allow the field to be secured for Edit Access.

Resolution

This is fixed in:

  • Clarity 16.4.2.1 (Clarity 16.4.2 Patch 1)
  • Clarity 16.4.3

Additional Information

Similar issue was fixed in 16.4.1 at  API-1005 : Attribute(s) 'attributeID' specified in query parameters are not supported or secured.