Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调用控制设备接口报错:2009, error msg : clientId is invalid #44

Open
xiuyangzhe opened this issue Dec 28, 2023 · 0 comments
Open

Comments

@xiuyangzhe
Copy link

2023-12-28 14:43:22.128 [asyncDeviceTaskExecutor-43] ERROR com.tuya.connector.api.core.ConnectorProxy-Error invoke connector[com.rocky.school.tuya.connectors.DeviceConnector.sendCommand(java.lang.String, com.rocky.school.tuya.model.request.SendCommandRequest), args: (6c6f7aba291346f38ejy6z, SendCommandRequest(id=null, ids=null, commands=[TuyaCommand(code=switch_2, value=false)]))]
2023-12-28 14:43:22.129 [asyncDeviceTaskExecutor-96] ERROR com.rocky.school.service.AsyncTaskManager-controlDevicea0fd2772-8fd8-4e18-92be-66335bbf1d3c
com.tuya.connector.api.exceptions.ConnectorResultException: error code : 2009, error msg : clientId is invalid
at com.tuya.connector.api.exceptions.ExceptionFactory.ofCode(ExceptionFactory.java:29)
at com.tuya.connector.api.core.delegate.RetrofitDelegate.execute(RetrofitDelegate.java:115)
at com.tuya.connector.api.core.ConnectorProxy.invoke(ConnectorProxy.java:51)
at com.sun.proxy.$Proxy173.sendCommand(Unknown Source)
at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.tuya.connector.api.plugin.Invocation.proceed(Invocation.java:29)
at com.tuya.connector.api.error.ErrorProcessorInterceptor.intercept(ErrorProcessorInterceptor.java:29)
at com.tuya.connector.api.plugin.Plugin.invoke(Plugin.java:26)
at com.sun.proxy.$Proxy173.sendCommand(Unknown Source)
at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.tuya.connector.api.plugin.Invocation.proceed(Invocation.java:29)
at com.tuya.connector.api.context.ContextInterceptor.intercept(ContextInterceptor.java:30)
at com.tuya.connector.api.plugin.Plugin.invoke(Plugin.java:26)
at com.sun.proxy.$Proxy173.sendCommand(Unknown Source)
at com.rocky.school.service.AsyncTaskManager.controlDevice(AsyncTaskManager.java:255)
at com.rocky.school.service.AsyncTaskManager$$FastClassBySpringCGLIB$$8cd7bed8.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant