Skip to main content
Nintex Community Menu Bar
Question

Loading 2 REST Models at the same time is causing an Bad Request error

  • July 10, 2024
  • 1 reply
  • 2 views

Forum|alt.badge.img+8

I have two REST models configured on a page. The first one merges in data from a Salesforce model to query the REST model. The second one uses a value from the first REST model to query data.

If I load the first one, and then manually query the second model using a table global action, I don’t get an error. But if I have both configured to load on page load, and causes an error for both.

Any direction on this would be great.


1 reply

Forum|alt.badge.img+8

That is correct. The first model does not return data in enough time for the second model to use. What I’ve done as a workaround is inserted separate query actions for each model.

It would be ideal if I didn’t have to do this, because it becomes pretty tedious trying to make sure I’m querying all the right models at the right time (based on when tab is first shown).