Thanks all, the issue was because of missing Content-Type:application/json
request header. The local dev server misses this check and works.

Regards,
Aakash

On Thu, Mar 12, 2015 at 3:35 AM, Vinny P <[email protected]> wrote:

> On Fri, Mar 6, 2015 at 8:48 PM, Aakash Bapna <[email protected]>
>  wrote:
>
>> It's Python, I think the exception is thrown in google cloud endpoint
>> lib.
>>
>> On 07-Mar-2015, at 2:11 am, Chad Vincent <[email protected]> wrote:
>>
>> Are you logging the exception?  What language?
>> I don't know what you're using, but the uncaught exception handler in
>> Java does log the stack trace.
>>
>>
>
> I'm in the same boat as Chad - I'm more used to Java Endpoints than Python
> Endpoints and I'm not sure how Python Endpoints handle logging. Can you try
> configuring ereporter?
> https://cloud.google.com/appengine/articles/python/recording_exceptions_with_ereporter
>
> Typically parse errors are thrown when the incoming JSON is invalid or
> not-well-formed for some reason. Try having your client app submit a
> typical request to a dummy server, or a test service such as
> http://requestb.in/ . Then once you've captured the request, you can
> inspect the JSON: ensure that it passes validation, that the content type
> header is correct, the expected properties are set, etc.
>
>
>
> -----------------
> -Vinny P
> Technology & Media Consultant
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/tUls2TByhlM/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/CALSvALC00zUoSBrmYeATT-P%3Du9LF-Hmx6zvwiwH6SfU8ts5b3A%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CALSvALC00zUoSBrmYeATT-P%3Du9LF-Hmx6zvwiwH6SfU8ts5b3A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAAgnfG8%3Dr7w6Xs4NpAWJqBwcD55GBcwjB5u7xAKcDVFeRB_nDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to