Query is not getting an additional scope value

When I run javascript from a button click, it triggers a query. The query is not receiving the value for the additional scope.


Is it not present in the additionalScope object in your last screenshot? It looks to me like the API is returning the 400 error for a reason other than the ID being missing.

Can you look at the request metadata in the query's state object and see if the URL is formed with the ID in it?

1 Like