Question

API call AccountStructureItemSet giving an "Invalid key value" error for the parameter "StructureItemType"

  • 29 September 2022
  • 1 reply
  • 111 views

Badge +1

I am trying to fetch the accounting structure items by passing four required parameters as shown below API call. This is as per the API Doc and am using PostMan with a valid bearer token.

https://myifscloudapp.ifs.cloud/main/ifsapplications/projection/v1/AccountingStructureHandling.svc/AccountingStructureItemSet(Company='mycompany',StructureId='mystructure',StructureItemType='Node',NameValue='mynamevalue')
 

I am getting the below error response, not sure why:
{
    "error": {
        "code": "ODATA_PROVIDER_ERROR",
        "message": "An internal server error occurred. Contact administrator.",
        "details": [
            {
                "code": "INVALID_KEY_VALUE",
                "message": "The key value 'StructureItemType' is invalid."
            }
        ]
    }
}

Please respond if you have encountered this and have resolved. 
Thanks!


1 reply

Badge +15

Hi @sethuraj ,

I think this is a framework issue and it should be fixed in the IFS Cloud 23R1.

Reply