on 01-12-2016 6:32 PM
I am getting the The message error following this blog step by step:
http://maps.googleapis.com/maps/api/geocode/json?address=5th Avenue+New York+USA&sensor=false not successful. HTTP/1.0 400 Bad Request
can you please help me with this
<![CDATA[
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rest.ejb.common.exception.HttpCallException: HTTP GET call to http://maps.googleapis.com/maps/api/geocode/json?address=5th Avenue+New York+USA&sensor=false not successful. HTTP/1.0 400 Bad Request
at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:772)
at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:530)
this is my channel configuration
Thanks a lot for your help
I solved the issue
This is the change in URL:
using quotation marks for the address.
It works fine:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Juan,
Can you try using + instead of %20? So the URL becomes http://maps.googleapis.com/maps/api/geocode/json?address=5th+Avenue+New+York+USA&sensor=false
or this one (no spaces)
http://maps.googleapis.com/maps/api/geocode/json?address=5thAvenue+NewYork+USA&sensor=false
Regards,
Mark
even i was getting such issue,
pls look this thread https://scn.sap.com/thread/3734786
have you checked what is patch level ?
my case when upgraded to patch 5 ,issues got resolved
Hello Juan,
Could you let us know what's you PI Version? I was recently doing one of the REST scenario, but I was also getting the same error Bad Request. We applied the below note and then it started working.
2114322 - REST: GET variables are ignored
I'm not sure if it's applicable to you. But take a look at the note.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.