Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Demo not working - "An error has occurred while calling a service"

$
0
0
Hi Carlos,
I've managed to get it working by replacing encoded URL sybmobs with non encoded ("(",")",":",",") in OnBeforeRequest Action in ModifiedRequest.URLPath

I've noticed that on original Field selectors replace flow  "%2c" and "%3a" are used and in my case I had to use appercase %2C and %3A. I've tried to do this small change to original flow but it didn't help (I will give it another try later becouse for my purpose the porblem is solved with abve mentioned workaround).

So It might be related to case sensitivity settings (if there are any) or platform version as few weeks ago it was working perfectly and I suspect that platform version was another then.

Here is more info from this error:

Platform version is Version 9.1.300.1

Environment Information:
eSpaceVer: 18 (Id=1239, PubId=1233, CompiledWith=9.1.300.1)
RequestUrl: https://darwinlabs.outsystemscloud.com/LinkedinConnDemo/YourProfile.aspx (Method: GET)
AppDomain: /LM/W3SVC/28/ROOT/LinkedinConnDemo-443-131050221521294711
FilePath: C:\OutSystems\Sandboxes\ZD2UXF027\Platform Server\running\LinkedinConnDemo\YourProfile.aspx
Locale: en-US
DateFormat: yyyy-MM-dd
PID: 39600 ('w3wp', Started='3/29/2016 2:50:06 PM', Priv=885Mb, Virt=18430Mb)
TID: 352
Thread Name: 
.NET: 4.0.30319.34209


I've added some additional info in error messsage (responce status and messsage)
Stack:

An error has occurred while calling a service 404 {
  "errorCode": 0,
  "message": "Could not find person based on: ~%28id%2Cnum-connections%2Cpicture-url%2Cformatted-name%2Clocation%29",
  "requestId": "A8GUWSDXKU",
  "status": 404,
  "timestamp": 1460548708747
}
   at ssLinkedinConnector.CcLinkedin.ActionProfileCurrentMember2(HeContext heContext, ICcLinkedinCallbacks _callbacks, String inParamFieldSelector, String inParamSecureURLs, String inParamAcceptLanguage, STProfileStructure& outParamProfile)
   at ssLinkedinConnector.Actions.ActionProfile_CurrentMember(HeContext heContext, String inParamFieldSelector, String inParamSecureURLs, String inParamAcceptLanguage, STProfileStructure& outParamProfile)
   at ssLinkedinConnDemo.RsseSpaceLinkedinConnector.MssProfile_CurrentMember(HeContext heContext, String inParamFieldSelector, String inParamSecureURLs, String inParamAcceptLanguage, IRecord& outParamProfile)
   at ssLinkedinConnDemo.Flows.FlowMainFlow.ScrnYourProfile.Preparation(HeContext heContext)
   at ssLinkedinConnDemo.Flows.FlowMainFlow.ScrnYourProfile.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>