AIP project-scope not working

I created an AIP file with following variables data types - string, integer, timestamp and Object Set. I have also used Semantic Search, Conditional blocks and LLM. It was built as a user-scoped file and was successfully published. Now when I try to switch the publish configuration to “project scoped”, it’s throwing an error. The error is as follows:

NOTE: It does say “All Resources imported”

What am I missing?

Hi, thanks for flagging! We are currently working to make stateful functions supported when called from Logic in scoped mode. (Functions that can be stateful currently include compute modules, Java functions, deployed functions, live deployments, and python 2/3 functions). But for now they cannot be used in scoped mode.

Here are some temporary workarounds:

  1. switch back to user scoped mode (but you lose cross-user debug logs this way)
  2. change the language of the called function to something that is stateless (may be difficult / impossible depending on what the called function is doing)

And I think it’d probably also be helpful for you to see what the offending function was, right? That’s something we should improve on our side.

And I think it’d probably also be helpful for you to see what the offending function was, right? That’s something we should improve on our side.

Just shipped an improved message that should show which function is stateful – should be on your stack in the next couple days.

1 Like