B4J Question HTTPUtils: REST API Resource Error on existing end point

Mashiane

Expert
Licensed User
Longtime User
Hi there

Im using HttpJob to read a rest api, this works (returns the results) and sometimes does not (returns the resource has been moved/does not exist). This is being used with wait for.

The end point I have been provided exists however the job.ErrorMessage is at times 'Not Found' and sometimes its able to return the results first time / a couple of times. I am able to parse data from job.GetString into a list sometimes dololo.

Can someone please advice in terms of what could be the issue and what can be improved.

Thanks.
 

DonManfred

Expert
Licensed User
Longtime User
You are not providing enough informations. Upload a small project which shows the Issue.
the job.ErrorMessage is at times 'Not Found'
Make sure to know the callled URL to understand why it is not found "at times" in the Result. If possible use the Jobs Tag Property to log the used (or Map with the parameters).
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…