I've been trying to register a callback URL for use with the speech recognition service but am not succeeding.
I sent the following POST request with body {} and authentication.
https://stream.watsonplatform.net/speech-to-text/api/v1/register_callback?callback_url=https://skaxsqsiq4.execute-api.us-east-1.amazonaws.com/test/watson/callback
I received this response:
{
"code": 400,
"code_description": "Bad Request",
"error": "unable to verify callback url, challenge_string is missing or incorrect"
}
Though calling my endpoint myself echos the challenge string
curl -XGET https://skaxsqsiq4.execute-api.us-east-1.amazonaws.com/test/watson/callback?challenge_string=12345
Returns:
12345
Watson Speech-to-Text register_callback returns only 400s
This user was having the same issues as you with the Speech to Text service. It was an error with the Bluemix servers not supporting the cipher suites for the SSL connection.
It is likely the same issue with the Speech Recognition service.
Please open up a support ticket with your service instance directly here, and they should be able to resolve the issue:
https://support.ng.bluemix.net/technicalsupport/
Related
I am calling a serverless api(apigateway+lambda) from lambda from another aws account with axios, returns 403 http status with payload { message: "Forbidden" }. the get http call returns data when used in chrome
looking at the comments which say that the headers included "x-amzn-errortype: ForbiddenException", that happened for me when I had not deployed the api yet. After deploying the api, that error went away
As the title states, when I send a request from soapUI to an SAP web service I am returned with an XML that contains a "401 Nicht autorisiert" error message in it. Since it is an SAP web service, I do have to input credentials when I create the new project, but those are the only credentials I have input before running the project.
With the same credentials, I am able to create a request and not receive an error message when I use the Postman interface.
Could this be an issue with the web service configuration, or is this an authorization issue with soapUI?
Links to images:
SoapUI: https://imgur.com/2ZOBMgZ
Postman: https://imgur.com/M1SOCgG
From your images it looks like the Authorization: Basic... header is not being sent as part of your HTTP request out of soapUI and I assume your service doesn't challenge for the credentials in a way that soapUI understands.
One way around this is to click the Authenticate pre-emptively radio button on the basic authorization dialog box. This will construct and send the header the same way as Postman.
I am simply trying to cURL the google api rest resource:
curl -X GET https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=Miniac&maxResults=1&order=date&type=video&key={API_KEY}
the error I'm seeing is:
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use
This is usually an issue because the youtube API isn't enabled on the project where your API key lives, but in my case it is. What else am I missing?
I just needed to put quotations around the URL.
I added an http request node when using the Node-Red editor on Bluemix.
However, when I hit "Deploy", I see the following error:
Error:{"error: "unexpected error"}
Is there another way to find out what could be wrong, and get more helpful error messages?
These are the options I used:
Method: GET
URL: http://jsonplaceholder.typicode.com/posts/1
The URL is from JSONPlaceholder, a free online REST service for testing.
Thank you
I recreated the http request node (with the same parameters) today and the deploy was successful, and so was the GET request.
I am trying to get realtime updates from facebook for my application as documented in https://developers.facebook.com/docs/reference/api/realtime/. I am struggling now when it comes back to the Subscription Verification. I have set up a callback server which accepts both GET and POST requests. I verified that the server works by making curl requests to it.
However, I stil get this error when attempting to create a subscription issuing the POSt request below
{"error":{"message":"(#2200) callback verification failed:
","type":"OAuthException","code":2200}
From what I read in the documentation and other threads, I assume that this means that the single GET request to my callback URL fails. The callback url does not get requested by neither GET nor POST requests indeed. I suppose that facebook is somehow blocked from accessing the endpoint. However, I am able to auth as a user using the auth dialog (https://developers.facebook.com/docs/reference/dialogs/oauth/) where I pass a callback url on the same server as well. The server runs http (for now).
This is the curl I am using to post the subscription. Host file has an entry to redirect dev.minggler.com to localhost =>( 127.0.0.1 dev.minggler.com)
curl -XPOST 'https://graph.facebook.com/256139341164822/subscriptions?callback_url=http%3A%2F%2Fdev.minggler.com%3A3000%2Ffacebook%2Frealtimeupdates&object=user&fields=friends&verify_token=abcd123&access_token=$MYTOKEN'
Can anybody help me out on this?
finally found the problem. the server wasn't reachable from outside. resolving it solved the problem