Skip to main content
January 18, 2024
Question

Expression evaluation error at function 'index' parameter 1 in Headers

  • January 18, 2024
  • 6 replies
  • 0 views

Hello everyone,

Got an new error in an interface that existed for a while. It is a simple interface that takes several CDTs of data and displays it as well as taking some text input from users and passig it to a process, it does not have record headers or actions in it.

This error refers to 'Headers' and 'body' that aren't used anywhere in code for that interface, so could anyone please help me make sense of it?

Also, strangely enough it pops up only ocassionally and/or for different users, with same data.

6 replies

mikes0011
Brainy
January 18, 2024

Have you checked your system logs for anything suspicious at corresponding times?  If you don't see any items in the interface that seem to contain this language then I'd expect something might be going wrong behind-the-scenes. 

Are you able to get it to happen in the interface editor? 

If necessary, you could consider opening a support case, though it would help to do more work beforehand to see if you can narrow down the issue or get it to be consistently reproduced.

The Expression Guru
January 22, 2024

There is nothing conclusive in system logs, unfortunately.

It does not happen in editor, only in actual app. And even then only rarely, only thing that is consistent is that it seems tied to buttons that display/hide sub-interfaces or the submit button.

Thank you for suggestion, I will probably have to contact appian team since the error doesn't provide the necessary information that it normally should

abhayd3663
January 18, 2024

Are there any child interfaces where you are trying to index property body?

January 22, 2024

No, there aren't any 'body' or 'header' anywhere. API requests and responses have those, but that can't really be checked as it is handled under the hood

davidj137213
Brainy
January 22, 2024

So in this interface you are using API requests, right?

harshitb6843
January 22, 2024
takes several CDTs of data and displays it

Where is it taking that data from? DB or API?