Skip to content

Instantly share code, notes, and snippets.

@siroken3
Created August 24, 2012 06:25
Show Gist options
  • Save siroken3/3446579 to your computer and use it in GitHub Desktop.
Save siroken3/3446579 to your computer and use it in GitHub Desktop.
なんか怒られる例 (BotoServerError: 400 Bad Request)
#!/bin/env python
import boto
import boto.ec2
regison = boto.ec2.get_region('us-east-1')
conn = boto.connect_cloudwatch(region=region)
conn.list_metrics()
@siroken3
Copy link
Author

詳しくはこんな感じ:

BotoServerError: BotoServerError: 400 Bad Request

NoSuchVersionThe requested version (2010-08-01) of service AmazonEC2 does not existXXXXXX

@siroken3
Copy link
Author

BotoServerError: BotoServerError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>NoSuchVersion</Code><Message>The requested version (2010-08-01) of service AmazonEC2 does not exist</Message></Error></Errors><RequestID>4186caaf-a643-4e00-817e-e24cac201028</RequestID></Response>

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