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 9150237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:35:09+00:00 2026-06-17T11:35:09+00:00

I tried out this python example code and received the following error: Traceback (most

  • 0

I tried out this python example code and received the following error:

Traceback (most recent call last):

  File "C:\Users\rey\Documents\ProjectFolder\GoogleCharts\fusion.py", line 187, in <module>
    api_test.main()

  File "C:\Users\rey\Documents\ProjectFolder\GoogleCharts\fusion.py", line 55, in main
    serv_resp = urllib2.urlopen(serv_req)

  File "C:\Python27\lib\urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)

  File "C:\Python27\lib\urllib2.py", line 406, in open
    response = meth(req, response)

  File "C:\Python27\lib\urllib2.py", line 519, in http_response
    'http', request, response, code, msg, hdrs)

  File "C:\Python27\lib\urllib2.py", line 444, in error
    return self._call_chain(*args)

  File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
    result = func(*args)

  File "C:\Python27\lib\urllib2.py", line 527, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

HTTPError: HTTP Error 400: Bad Request

I followed the instructions in the commented out section in the script to setup my authentication and think I have done the setup correctly.

To create the client ID, I have these settings:

Application type: Installed application

Installed application type: Other

When I run the script, the program prompts me for URL parameter. What am I supposed to enter for that? And where can I find more examples? The example that O have linked is the only up to date python example I’ve found so far.

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-06-17T11:35:10+00:00Added an answer on June 17, 2026 at 11:35 am

    Alright, when prompt for the URL parameter, literally use the parameter of the URL after “code=”. This is somewhat disappointing though, since I am looking for a way to automatically authenticate and create a fusion table from a local file that has all the info. Any suggestion?

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

Sidebar

Related Questions

I have tried to figure this out and googled through a fair few stack
I can't figure out why this won't work, I've tried it 100 ways. The
I have tried so many things, cannot figure this out, I am using this
I've tried many functions already, but I simply can't figure this out. The right
I have tried for a very long time now to figure out, why this
I am using the Python code at the bottom of this question to send
I have the following code to get a list of file names in a
I am tired to find out why this simple query not working. SELECT image_url
I am tired of working this out myself , i cannot understand the way
Sorry, I'm sure this is simple but I'm tired and can't figure it out.

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.