create_table method throws a 403 error #19

Closed
prakashmurthy opened this Issue Oct 22, 2012 · 1 comment

Comments

Projects
None yet
3 participants

Following the example in README.md and the Boris Bikes example, I am getting a 403 error on create_table method.

The fusion table does get created though. I can then select the table and insert data/query from it.

Relevant part of the command & output

$ table  = ft.create_table(table_name, cols) if !table

GData::Client::AuthorizationError: request error 403: <HTML>
<HEAD>
<TITLE>User does not have permission to view the underlying data</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>User does not have permission to view the underlying data</H1>
<H2>Error 403</H2>
</BODY>
</HTML>

        from /Users/prakashmurthy/Developer/.rvm/gems/ruby-1.8.7-p358@ft_test/gems/gdata_19-1.1.5/lib/gdata/client/base.rb:88:in `make_request'
        from /Users/prakashmurthy/Developer/.rvm/gems/ruby-1.8.7-p358@ft_test/gems/fusion_tables-0.3.1/lib/fusion_tables/client/fusion_tables.rb:54:in `make_request'
        from /Users/prakashmurthy/Developer/.rvm/gems/ruby-1.8.7-p358@ft_test/gems/gdata_19-1.1.5/lib/gdata/client/base.rb:104:in `get'
        from /Users/prakashmurthy/Developer/.rvm/gems/ruby-1.8.7-p358@ft_test/gems/fusion_tables-0.3.1/lib/fusion_tables/client/fusion_tables.rb:33:in `sql_get'
        from /Users/prakashmurthy/Developer/.rvm/gems/ruby-1.8.7-p358@ft_test/gems/fusion_tables-0.3.1/lib/fusion_tables/ext/fusion_tables.rb:22:in `send'
        from /Users/prakashmurthy/Developer/.rvm/gems/ruby-1.8.7-p358@ft_test/gems/fusion_tables-0.3.1/lib/fusion_tables/ext/fusion_tables.rb:22:in `execute'
        from /Users/prakashmurthy/Developer/.rvm/gems/ruby-1.8.7-p358@ft_test/gems/fusion_tables-0.3.1/lib/fusion_tables/data/table.rb:36:in `describe'
        from /Users/prakashmurthy/Developer/.rvm/gems/ruby-1.8.7-p358@ft_test/gems/fusion_tables-0.3.1/lib/fusion_tables/data/table.rb:107:in `get_headers'
        from /Users/prakashmurthy/Developer/.rvm/gems/ruby-1.8.7-p358@ft_test/gems/fusion_tables-0.3.1/lib/fusion_tables/ext/fusion_tables.rb:69:in `create_table'
        from (irb):47
Contributor

fallanic commented Nov 2, 2012

Same problem here.

I suspect it's caused by the recent removal of fusion numeric ids (which is returned by the create_table function).

fallanic referenced this issue Nov 20, 2012

Merged

Issue #19 #20

@tokumine tokumine added a commit that referenced this issue Nov 20, 2012

@tokumine tokumine Merge pull request #20 from fallanic/master
Issue #19 fixed. Thanks @fallanic!
3aad8cd

tokumine closed this Nov 20, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment