cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ContentLoader LoadText failed to run

SOLVED
Alexandrite

ContentLoader LoadText failed to run

Hi,

 

I have a simple service in Thingworx for THING_17, the thing implements ContentLoader thing shape

 

"

return me.LoadText({
url: 'http://localhost:8089/',
header: '{ "Accept": "text/html" }',
timeout: 12000
});

"

and there is a local HTTP service listening at port 8089, PostMan can do a request and receive a response well, but i got an error when using LoadText service 

 

"Unable to Invoke Service Execute on THING_17 : null

 

Any help would be very appreciated.

 

My Bests,

Hung Tran

1 ACCEPTED SOLUTION

Accepted Solutions

Re: ContentLoader LoadText failed to run

Hi Craig A.,

 

Thank you for asking. I am using classic Composer. Fortunately, when i change URL to 127.0.0.1, it is working well.

 

My Bests,

Hung Tran

View solution in original post

3 REPLIES 3

Re: ContentLoader LoadText failed to run

Hello, Hung Tran.

 

Are you using the classic Composer or the New Composer here?

 

I ask because I have seen reports of this type of error when using the New Composer.

 

Thanks,

 

-- Craig A.

Re: ContentLoader LoadText failed to run

Hi Craig A.,

 

Thank you for asking. I am using classic Composer. Fortunately, when i change URL to 127.0.0.1, it is working well.

 

My Bests,

Hung Tran

View solution in original post

Re: ContentLoader LoadText failed to run

Hi, Hung Tran.

 

Glad to hear that fixed it. When you get a chance, please mark your post as the accepted solution for the benefit of others who may see the same problem and can enjoy the fix.

 

Thanks!

 

-- Craig A.

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________