Created
February 24, 2020 21:18
-
-
Save sashadev-sky/1330696fb78aabdfe647ca92aa4d88d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| **Error:** | |
| 3.1) Failure/Error: @service = @fastly.create_service(:name => name) | |
| Fastly::Error: | |
| {"msg":"Bad request","detail":"Exceeding max_total_services: 10"} | |
| **Solution** | |
| ``` | |
| $ rails c | |
| fastly = Fastly.new(api_key: ENV['FASTLY_API_KEY']) | |
| fastly.list_services.each { |service| fastly.delete_service(service) } | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment