Anyone know what this error means? It's coming from the Google Cloud Endpoints processor and the error message gives no detail as to where it's occurring. Here is the full stack trace I see in the error log:
com.google.gdt.eclipse.appengine.swarm.wizards.helpers.SwarmGenerationException: java.lang.IllegalArgumentException: Multiple values for same key 'request'
UPDATE:
Through trial and error I found the offending method signature:
@ApiMethod(name = "createMasterDefaultCampaignsAndScriptsAndSchedules", path = "createMasterDefaultCampaignsAndScriptsAndSchedules", httpMethod = HttpMethod.GET)
public ArrayList<Campaign> createMasterDefaultCampaignsAndScriptsAndSchedules(Calendar pCalendar, Company pCompany) {
What's wrong with this?
Only one entity type parameter is allowed with endpoints. You must enclose all parameters in a single class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With