Skip to main content
Solved

Connect to JSON data source via api possible on on-prem but not cloud


Hello,

With TimeXtender business unit on prem at an internal server, we were able to call an API via below settings, and load the data successfully. 

 

However, when we set up the same data source on TimeXtender Portal with basically the same setting. The data source tested either timeout or with error ‘Exception has been thrown by the target of an invocation.’, or connection tested okay but no metadata can be imported/synced. I have tried all below connection types but couldn’t get it work. Do you know why (for example to setup firewall or proxy) or have any advice? Thanks in advance.

 

Best answer by Thomas Lind

Hi ​@Xiaoqing Hu 

The JSON version in the portal is of a higher major release, the 24.0.xxxx.0 one.

There is some difference from the 23.0.xxxx.0 you use in the old version.

In the Connection area you can see the Connection Type field, it is not actually possible to have it set to Auto. Try to set this to https to let it know what type of connection you are using.

Alternatively, just use the REST data source, it works the same way as the one for JSON.

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

Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • January 8, 2025

Hi ​@Xiaoqing Hu 

The JSON version in the portal is of a higher major release, the 24.0.xxxx.0 one.

There is some difference from the 23.0.xxxx.0 you use in the old version.

In the Connection area you can see the Connection Type field, it is not actually possible to have it set to Auto. Try to set this to https to let it know what type of connection you are using.

Alternatively, just use the REST data source, it works the same way as the one for JSON.


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

@Xiaoqing Hu did the comment above help answer your question? If so please help us by marking this comment as the best answer. Please let us know if you have any follow up questions


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