Search code examples
authenticationibm-cloudwatson-assistantibm-cloud-functions

Calling IBM Cloud Function in United Kingdom from Watson Assistant gives: The supplied authentication is invalid


I am getting this error:

The supplied authentication is invalid

when we are calling an IBM Cloud Function running in the United Kingdom region from a dialog node in the Watson Assistant (also in the UK)

The strange thing is, that when we call a Cloud Function that runs in US South, (with different credentials) it works fine.

Calling the Cloud Function (UK instance) from PostMan works fine as well.

The difference with PostMan is, that we provide the complete endpoint URL.

In the Watson Assistant dialog node we "only" supply the part after "namespaces". Due to the limit of 64 characters for the name, we cannot provide the entire URL. I suspect the Watson Assistant run time to try US-South first (even if it runs in the UK) and when it finds a namespace it tries to access this one ?! But this is just a thought...

For now we can use the Cloud Function in the US (south), but I am looking for a way to get this to work for the UK as well?

--- update ---- enter image description here


Solution

  • Unfortunately cloud functions are not currently available in any region other than us south. We are working to develop a pipeline for all regions but not at this time