Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 421107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:57:03+00:00 2026-05-12T18:57:03+00:00

I am writing some code to educate myself in the ways of ExtJS. I

  • 0

I am writing some code to educate myself in the ways of ExtJS. I am also new to JSON so hopefully this question will be easy for you to answer. I am trying to retrieve some data from a basic web service that I have written which should be returning its results as JSON (seeing as I am new to JSON – it could be that that is broken).

The error I am getting is

SyntaxError: missing ) in
parenthetical

The JSON that I am returning from my web service is

{
    "rows": [ 
    { 
        "id": "100000", 
        "genre_name": "Action", 
        "sort_order": "100000" 
    }, { 
        "id": "100002", 
        "genre_name": "Comedy", 
        "sort_order": "100002" 
    }, { 
        "id": "100001", 
        "genre_name": "Drama", 
        "sort_order": "100001" 
    }]
}

My ExtJS code is as below. The loadexception callback is where I have retrieved the JSON and error above from

var genres = new Ext.data.Store({
    proxy: new Ext.data.HttpProxy({
        method: 'POST',
        url: 'http://localhost/extjs_training/Demo_WebService/Utility.asmx/GetGenres',
        failure: function(response, options){
            Ext.get('my_id').dom.innerHTML = 'Load failed: ' + response.status;
        }
    }),
    reader: new Ext.data.JsonReader({
        fields: ['id', 'genre_name'],
        root: 'rows'
    }),
    listeners: {
        loadexception: function (proxy, options, response, e) {
            var result = response.responseText;
            Ext.MessageBox.alert('Load failure', e + " ..... " + result);
        }
    }
});

var loadSuccess = genres.load({
    callback: function(r, options, success){
        Ext.get('my_id').dom.innerHTML = 'Load status: success=' + success;
    }
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T18:57:03+00:00Added an answer on May 12, 2026 at 6:57 pm

    Is the JSON you included above what is actually being returned from the call, or what you are anticipating it should look like? The string you included looks clean, but it looks like you formatted it as well. I’m not sure if the space after “id”: is allowed, either. It might not be a big deal, though.

    The missing parenthetical typically indicates that something in the JSON is wrong. It could be an extra character before/after the string. Use Firebug to examine what you are getting back, and make sure it is clear of any extra characters.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am re-writing some code for a new re-design and I am wondering if
I'm writing some code that will take a screenshot of another application, given its'
I am writing some code that will go through a file, edit it as
I'm writing some code (just for fun so far) in Python that will store
I'm writing some code to parse a string into a double, but this string
I am writing some code in Python something like this: import sys try: for
I am writing some code which will search a website and return the number
While writing some code i came across this issue: #include <iostream> class random {
I need help with writing some code that will create a random number from
I am writing some code that will prepare my database for my application. In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.