Skip to main content
Question

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

  • September 29, 2022
  • 1 reply
  • 169 views

Forum|alt.badge.img+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

Manoj Ruwanhewa
Superhero (Partner)
Forum|alt.badge.img+15
  • Superhero (Partner)
  • January 12, 2023

Hi @sethuraj ,

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