Consume AccWeather API

0
Hi,   I’m consuming Acc Weather API and getting following error. Could you please help to fix this error.     com.mendix.modules.microflowengine.MicroflowException: Error calling REST service     at MyFirstModule.GetCity (CallRest : 'Call REST (GET)') Advanced stacktrace:     at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:79) Caused by: com.mendix.modules.microflowengine.MicroflowException: 401: Unauthorized     at MyFirstModule.GetCity (CallRest : 'Call REST (GET)')  
asked
1 answers
0

Hi, the 401 means that the authorization used is not right.

 

Did you use https://username:password@api.meteomatics.com/<the rest of the API call>?

 

If so, check them, if not, this is the answer.

answered