Notifications
Clear all

java.lang.RuntimeException: You requested SPT for ValueChain (9123) which doesn't exist in the system.

1 Posts
1 Users
0 Reactions
954 Views
0
Topic starter

A SDK user came across this error message when loading data into a server:

java.lang.RuntimeException: You requested SPT for ValueChain (9123) which doesn't exist in the system. Please load ValueChain first and try again.

 image 1

What does this mean, and what is the best way to resolve it?

1 Answer
0
Topic starter

If an .xml file's ValueChain ID does not match the ValueChain ID of the app, then this error can occur.

In the Bookstore tutorial this might happen if a developer creates a module with a random ValueChain ID. It can cause this problem if he/she then tries to use the sample Books.xml without updating the ValueChain ID.

The solution in this case is to update the ValueChain setting in the .xml data file. Then the load-data process will succeed.