What is [WF0014] Cannot perform web request. Error
I tried to run a query against google Directions API and I get this error. I report the URL prior the request and that query works in my browser but the workflow produces this error.
Any clues?
-
Hello Robert,
That appears to be a Microsoft error, and not overly useful: https://www.ibm.com/support/knowledgecenter/en/SSXKAY_9.5.0/com.ibm.hats.doc/topics/troubleshooting/wf0014.html
Could you provide more information about your query? A copy of your workflow would be useful.
Thanks, Stefan
0 -
Hi the workflow is attached. It shows the URL to query just prior trying and that works, but the workflow fails with the WF0014 error above. I have separately sent the API KEY.
0 -
Hello Robert,
My mistake, that error message is generated by our framework. I was able to obtain a useful error message once I changed to commas in the Evaluate Expression activities.
When the workflow is run with these changes, there's an error in the Chrome console: "Failed to load https://maps.googleapis.com/maps/api/directions/xml?origin=37.77938837597425,-122.47875328063753&destination=37.782508879676385,-122.45042915344033&key=YourKey: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://apps.geocortex.com' is therefore not allowed access."
According to one of our developers, this message indicates that executing this request does not match Google's CORS requirements. You might need to register your domain with them or make other additional configuration which is outside of my scope of knowledge.
Thanks,
Stefan
0 -
@Robert Potter? were you ever able to find a solution to this issue? I'm only getting the error with Chrome on certain machines. So far I haven't seen it on Explorer or Firefox.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
4 commentaires