Tony Wickham
Tony Wickham

Reputation: 4766

What is the correct syntax for api_version in app.yaml?

I was previously using "api_version: 1" but when I update to "api_version: 2" I get the error "api_version '2' is not supported by the 'python27' runtime." I also tried 1.1 with the same error message. I'm sure it is something simple, but haven't found it yet.

Upvotes: 0

Views: 656

Answers (1)

Tony Wickham
Tony Wickham

Reputation: 4766

I needed to update "version: 1" to "version: 2", not "api_version: 1" to "api_version: 2". And, just for the record, "version: 1.1" did not work.

Upvotes: 2

Related Questions