Skip to content

Instantly share code, notes, and snippets.

@BenMorganIO
Last active August 29, 2015 14:05
Show Gist options
  • Save BenMorganIO/5b786cf384169a8d9091 to your computer and use it in GitHub Desktop.
Save BenMorganIO/5b786cf384169a8d9091 to your computer and use it in GitHub Desktop.
backtrace
13:39:06 web.1 | Started GET "/shop/api/taxons?per_page=50&page=1&q%5Bname_cont%5D=&_=1408394174251" for 127.0.0.1 at 2014-08-18 13:36:36 -0700
13:39:06 web.1 | Processing by Spree::Api::TaxonsController#index as JSON
13:39:06 web.1 | Parameters: {"per_page"=>"50", "page"=>"1", "q"=>{"name_cont"=>""}, "_"=>"1408394174251"}
13:39:06 web.1 | Alchemy::User Load (0.7ms) SELECT "alchemy_users".* FROM "alchemy_users" WHERE "alchemy_users"."spree_api_key" = '' LIMIT 1
13:39:06 web.1 | Rendered /Users/benmorgan/.rvm/gems/ruby-2.1.2/gems/spree_api-2.3.1/app/views/spree/api/errors/must_specify_api_key.v1.rabl (0.6ms)
13:39:06 web.1 | Filter chain halted as :authenticate_user rendered or redirected
13:39:06 web.1 | Completed 401 Unauthorized in 973ms (Views: 963.3ms | ActiveRecord: 0.7ms)
@BenMorganIO
Copy link
Author

Response:

{"error":"You must specify an API key."}

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