Skip to content

Instantly share code, notes, and snippets.

@gramos
Created July 8, 2013 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gramos/5949483 to your computer and use it in GitHub Desktop.
Save gramos/5949483 to your computer and use it in GitHub Desktop.
Time of crash:
2013-07-08 11:46:27 -0300
CFoundry::NotAuthorized: 10003: You are not authorized to perform the requested action
<<<
REQUEST: GET https://api.run.pivotal.io/v2/users?inline-relations-depth=0
REQUEST_HEADERS:
Accept : application/json
Authorization : bearer eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiIxZjMwMWRhNC0yM2M4LTQ5MmUtYjg5MS03MTY2YWYyYjI4MGIiLCJzdWIiOiJiNDFlNzIzZS03NGNlLTQ0MmEtOGE5ZC03
Mzc0MjNjZTlhMjYiLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIiwib3BlbmlkIiwicGFzc3dvcmQud3JpdGUiXSwiY2xpZW50X2lkIjoiY2
YiLCJjaWQiOiJjZiIsImdyYW50X3R5cGUiOiJwYXNzd29yZCIsInVzZXJfaWQiOiJiNDFlNzIzZS03NGNlLTQ0MmEtOGE5ZC03Mzc0MjNjZTlhMjYiLCJ1c2VyX25hbWUiOiJyYW1vcy5nYXN0b25A
Z21haWwuY29tIiwiZW1haWwiOiJyYW1vcy5nYXN0b25AZ21haWwuY29tIiwiaWF0IjoxMzczMjk0MDU0LCJleHAiOjEzNzMzMzcyNTQsImlzcyI6Imh0dHBzOi8vdWFhLnJ1bi5waXZvdGFsLmlvL2
9hdXRoL3Rva2VuIiwiYXVkIjpbIm9wZW5pZCIsImNsb3VkX2NvbnRyb2xsZXIiLCJwYXNzd29yZCJdfQ.KjpIEJW6uJGRsaRvHyY7uf6BW8HvPYjShuyoeu0-VR0J8YwnY2qygfVgFv0B-wl90vxnB
rrvxbVc7OTGTfu4eRYnEPTFplMUFrbV5Vx83Z07jZkERz5Wzowl6tuNWleej7KbshJTSjVAKOnuXLHA6gJg8SmN6UYeThvUm8zB-DMb1lphCF7Rv-KrKH1aJA_gT1fQuDL-shaMSk5iPjt-c2pA02A
6EtzJtt0e5UhryAVoLF4SoGmPNA0WmzDqp-G3-6JZ24zdG7HlDwSKagEEOoJ3VqyaphWYRY1jNcFL_4wkW5j2SIYyBibDJ_UZXC_qW_env_zxICX8ybDa_YxUXw
Content-Length : 0
RESPONSE: [403]
RESPONSE_HEADERS:
connection : keep-alive
content-length : 86
content-type : application/json;charset=utf-8
date : Mon, 08 Jul 2013 14:45:46 GMT
server : nginx
x-content-type-options : nosniff
x-vcap-request-id : a3ea4498-66c6-4808-b594-43642e87b572
RESPONSE_BODY:
{
"code": 10003,
"description": "You are not authorized to perform the requested action"
}
>>>
cfoundry-2.2.0rc3/lib/cfoundry/baseclient.rb:160:in `handle_error_response'
cfoundry-2.2.0rc3/lib/cfoundry/baseclient.rb:139:in `handle_response'
cfoundry-2.2.0rc3/lib/cfoundry/baseclient.rb:87:in `request'
cfoundry-2.2.0rc3/lib/cfoundry/baseclient.rb:64:in `get'
cfoundry-2.2.0rc3/lib/cfoundry/v2/model_magic/client_extensions.rb:25:in `block (2 levels) in add_client_methods'
cfoundry-2.2.0rc3/lib/cfoundry/v2/model_magic/client_extensions.rb:67:in `block (2 levels) in add_client_methods'
cf-3.1.0rc2/lib/cf/cli/user/users.rb:10:in `block in users'
interact-0.5.2/lib/interact/progress.rb:98:in `with_progress'
cf-3.1.0rc2/lib/cf/cli/user/users.rb:9:in `users'
mothership-0.5.1/lib/mothership/base.rb:66:in `run'
mothership-0.5.1/lib/mothership/command.rb:72:in `block in invoke'
mothership-0.5.1/lib/mothership/command.rb:86:in `instance_exec'
mothership-0.5.1/lib/mothership/command.rb:86:in `invoke'
mothership-0.5.1/lib/mothership/base.rb:55:in `execute'
cf-3.1.0rc2/lib/cf/cli.rb:166:in `block (2 levels) in execute'
cf-3.1.0rc2/lib/cf/cli.rb:177:in `save_token_if_it_changes'
cf-3.1.0rc2/lib/cf/cli.rb:165:in `block in execute'
cf-3.1.0rc2/lib/cf/cli.rb:101:in `wrap_errors'
cf-3.1.0rc2/lib/cf/cli.rb:161:in `execute'
mothership-0.5.1/lib/mothership.rb:45:in `start'
cf-3.1.0rc2/bin/cf:13:in `<top (required)>'
/usr/bin/cf:23:in `load'
/usr/bin/cf:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment