Complex map settings are more likely to cause a timeout during generation, which may be what you are seeing. Some map settings may also just be invalid and never produce a valid output. If you’re occasionally seeing a successful map for the same settings, then it’s probably just a timeout and you might be able to just retry your request. We’re working on some map server performance improvements over the next week or two, which may improve this.