Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voice Request works on Android but not iOS (400 Bad Request) #33

Open
cmihran opened this issue Aug 23, 2017 · 4 comments
Open

Voice Request works on Android but not iOS (400 Bad Request) #33

cmihran opened this issue Aug 23, 2017 · 4 comments

Comments

@cmihran
Copy link

cmihran commented Aug 23, 2017

When used on Android, the requestVoice call works fine and is able to parse my request and return a JSON payload from my API.AI agent. However, on iOS the response I get from the requestVoice call looks like this (I omitted the id and timestamp for example's sake):

{
  id = "...";
  lang = en;
  status = {
    code = 400;
    errorDetails = "Invalid request content type, expecting \"multipart/form-data\" or \"application/json; charset=utf-8.";
    errorType = "bad_request";
  };
  timestamp = "...";
}

Which seems strange given that the plugin should be the one making the request to the API.AI backend. Any ideas?

@SwenVogel
Copy link

I have the same issue on IOS.

@SwenVogel
Copy link

I think the reason ist described in:
https://api.ai/support/change-log#april_26_2017

@mnive93
Copy link

mnive93 commented Feb 16, 2018

I am getting the same response on iOS. Is there any fix for this ?

@faisal-fls
Copy link

I am getting the same issue in iOS , is this issue fixed already ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants