{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • General /
avatar image
0
Question by Vikas Lall · Oct 05, 2014 at 04:51 AM · 457 Views jsontoxml

Week5 JSON to XML Error

Hi

I am getting below error

HTTP/1.1 500 Internal Server Error

Content-Length:
161
Content-Type:
application/json
{
  "fault": {
    "faultstring": "JSONToXML[json-to-xml]: Execution failed due to reason: Expecting } at line 9",
    "detail": {
      "errorcode": "steps.json2xml.ExecutionFailed"
    }
  }
Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
0
Best Answer

Answer by Michael Malloy   · Oct 05, 2014 at 05:59 PM

Are you able to run your proxy in trace? If so, can you inspect your payload to see if the JSON is proper? Is this happening after you have done any changes to the JSON payload? Check your JSON payload to make sure it is properly formatted. If it is correct JSON and you're still getting a JSON to XML policy error, please send an email to help@apigee.com with the curl command or url that will cause the error. I'll try the same thing on my answer key to see if I can reproduce it.

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vikas Lall · Oct 08, 2014 at 02:29 AM 0
Link

Thanks i recreated the same stuff and it worked fine. Strange though.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

JSONToXML ignores ObjectRootElementName for object with one property 1 Answer

JSONtoXML Making array multiple elements 2 Answers

Unable to convert the json to xml 1 Answer

JSON to XML conversion- issue with root element 0 Answers

json to xml conversion with root element 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges