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

  • Home
  • SEARCH
  • 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 3931490
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:21:24+00:00 2026-05-19T23:21:24+00:00

my json url is : http://app.websitename.in/getToken above url return me following JSON : {

  • 0

my json url is :

http://app.websitename.in/getToken

above url return me following JSON :

 { token: "2cd3e37b-5d61-4070-96d5-3dfce0d0acd9%a00a5e34-b017-4899-8171-299781c48c72" }

Edit: Changed it to

 { "token": "2cd3e37b-5d61-4070-96d5-3dfce0d0acd9%a00a5e34-b017-4899-8171-299781c48c72" }

I am (still) getting Invalid Label error while calling following code

my code is :

 $.getJSON("http://app.websitename.in/getToken?callback=?", 
function(data) {
alert("success");
    alert("Symbol: " + data.token);
});

Please help me

Thanks

  • 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-19T23:21:24+00:00Added an answer on May 19, 2026 at 11:21 pm

    my json url is :
    http://app.websitename.in/getToken

    No, it isn’t (or, if it is, then its broken).

    curl: (6) Couldn’t resolve host ‘app.websitename.in’

    If we assume that you mean “example.com” when you say “websitename.in” (use the example domains for examples, that is what they are there for) then:

    If it returns that data, in that form, then it is failing to wrap it in a callback, so it is JSON and not JSON-P. You need JSON-P to operate across domains.

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

Sidebar

Related Questions

I have the following javascript: $.ajax({ type: "POST", dataType: "json", url: "/Home/Submit", data: {
I decided to write an app like: http://michaelgrinich.com/hackernews/ but for Android devices, my idea
I created a fixtures folder in the app directory and put data1.json in there.
I am trying to load json generated by my django app. It works when
I am working on a App that makes use of a JSON API and
I've generated some JSON and I'm trying to pull it into an object in
I've got the JSON coming back like this: { responseData: [{ responseData: { translatedText:
I've got some JSON data, but it's all on one line. Does anyone know
The output of my JSON call can either be an Array or a Hash.
I am generating the json from PHP.

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.