Skip to main content
Nintex Community Menu Bar
Knowledge Base

Invalid URI: The format of the URI could not be determined. error in the HostServer logs

  • April 14, 2023
  • 0 replies
  • 301 views
  • Translate

Forum|alt.badge.img+8

Problem 
You may see the HostServer logs filled with this error: 

"Error","System","2025","InternalMarshalError","SourceCode.Hosting.Server.Runtime.HostServerBroker.InternalMarshal","2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectClientServer.ExecuteInstance, Invalid URI: The format of the URI could not be determined. 

   at SourceCode.SmartObjects.Runtime.SmartObjectClientServer.<>c__DisplayClass14_0.<ExecuteInstance>b__0(IReliableDbTransaction tran) 

   at SourceCode.Data.Dac.ExecuteInTransaction(AmbientTransactionOption option, Action`1 unitOfWork) 

   at SourceCode.SmartObjects.Runtime.SmartObjectClientServer.ExecuteInstance(Byte[] brokerPackageAx, Byte[] insertTable)" 

This occurs when executing the Refresh SmartObject's CheckForRefresh method for the OData or Workflow REST APIs. 

 

Solution 
From K2 Management > Environment Library, check the value of the ODataMetaUrl environment field if it is pointing to an incorrect URL e.g. [PRIMARY_WORKSPACE]/api/odata/v3/$metadata 

To resolve the issue, edit the ODataMetaUrl environment field and change the value to the correct URL. It should be {K2 server URL}/api/odata/v3/$metadata. Replace {K2 Server URL} as applicable for your environment. Afterwards, restart the K2 service.

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings