Hello, can you send out the complete code, for example, what libraries are imported?(#include …) Maybe you can also refer to the discussion on our forum to see if it can help you solve the problem:
https://github.com/Seeed-Studio/Seeed_Arduino_rpcWiFi/issues/11