Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Text Messaging App returns 'Bad Request'

Hi,

I'm trying to build text messaging App as explained here (https://www.youtube.com/watch?v=7L3OH...).

I followed the steps and all worked fine up to using 'Test' to test my service where I could send myself an SMS successfully as shown below:

Image

After this, I generated the response automatically, and then I invoked the service on 'Send Message' Button click.

However, when I tested the App in the browser and in the Appery tester, it returned the error below:

Image

For its worth, in your tutorial, it did not explain how it created the proxy. It was already in the proxy list. For me, I just created one from 'New Channel' Button and typed in 'TwilioProxy'. Would that be the reason?

Many thanks for help!

Pavel Zarudniy
Posts: 0
Joined: Mon Jul 06, 2015 8:56 am

Text Messaging App returns 'Bad Request'

Hi Hawk,
Please look at Preview or Response tab with error message

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Text Messaging App returns 'Bad Request'

Hi Pavel,

On Preview I get the following:
pre{code: "PTCT022", description: "Error while sending request: null"}
code: "PTCT022"
description: "Error while sending request: null"/pre

On Response:
pre{"code":"PTCT022","description":"Error while sending request: null"}/pre

Pavel Zarudniy
Posts: 0
Joined: Mon Jul 06, 2015 8:56 am

Text Messaging App returns 'Bad Request'

Hi Hawk,
Please check that form fields correctly mapped to service.
Also could you please show all data from tab header(2nd screen, with scroll)

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Text Messaging App returns 'Bad Request'

Hi Pavel,

I checked my mapping. Nothing seems wrong to me:
Image

Here is the header:
Image

Thanks,

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Text Messaging App returns 'Bad Request'

Hello,

Any update on this?

Thanks,

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Text Messaging App returns 'Bad Request'

Hi Hawk -

What are you getting in the response payload from this service?

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Text Messaging App returns 'Bad Request'

Hi Illya,

This is the response I get:
Image

Thanks,

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Text Messaging App returns 'Bad Request'

Hello,

Any update on this?

Many thanks,

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Text Messaging App returns 'Bad Request'

Hello,

Please provide us with a public app link (https://devcenter.appery.io/documenta...) and steps to reproduce.

Return to “Issues”