Getting a Java error when attempting to subscribe a location to a SmartApp


(John Yates) #1

Hey everyone,
I encountered this error when trying to subscribe a location to a SmartApp. The app listens for events and then posts them to a URL for storage.
Has anyone seen this error, and if so, what went wrong?
Additionally, this app has been in use for over a month and suddenly stopped working, whereas an exact copy (with the target URL changed) continues
to function.
Here is the error:

No signature of method: script1391801625249860685131.subscribe() is applicable for argument types: (physicalgraph.app.AttributeWrapper, java.lang.String, java.lang.String, java.util.LinkedHashMap) values: [physicalgraph.app.AttributeWrapper@859a8fc, ...] Possible solutions: subscribe(java.lang.String, java.lang.String, java.lang.String), subscribe(java.util.Collection, java.lang.String, java.lang.String), subscribe(physicalgraph.app.DeviceWrapper, java.lang.String, java.lang.String), subscribe(physicalgraph.app.HubWrapper, java.lang.String, java.lang.String), subscribe(physicalgraph.app.LocationWrapper, java.lang.String, java.lang.String), subscribe(java.lang.String, java.lang.String, java.lang.String, java.util.Map)

Thanks!