Hello,
I have added a new fetch from the external api but since then I see a 401 error.
I find it the wierdest that if I make the rest api call on the logic tab everything works fine.
On the service center I see this error message which also do not make any sense to me.
Anyone a idea what can be the cause of this.
Roelof
Hi Roelof,
Thanks for providing the .oml file which made it easier to see what was wrong. So the 401 Unauthorized would point to an invalid web request, and in this case this was the API call you made.Look at the GetMovieDetails2 data fetch action, it has an unspecified APIKey value. It was empty so I added used the ApiKey site property as the value and now it works.I suggest also making the APIKey parameter in your REST methods mandatory to prevent this from happening in similar instances.
Hope this works for you.
Regards,
Dylan
Thanks, I overlooked 4 days this stupid one.
Hi,
I'm getting the same error when selecting new application on the Service Studio. Can someone help me, please?
Best regards,
Maria Eduarda Varandas