Lynxmotion Smart Servos icon Lynxmotion Smart Servos Compact Lynxmotion Smart Servos with position feedback, safety features and UART TX/RX for Arduino/EZ-B v4; scriptable temp, load, load-dir and ping. Try it →
Asked — Edited
Resolved Resolved by Athena!

Http Action Error

I am using Avatar JD and http server, when I run this command https://127.0.0.1/Exec?password=admin&script=ControlCommand(%E2%80%9CAuto%20Position%E2%80%9D,%20AutoPositionAction,%20%E2%80%9CThinking%E2%80%9D) I receive: Error: Missing String Quotes or Invalid Expression at index 0: ?



Related Hardware (view all EZB hardware)
JD Humanoid by EZ-Robot
JD humanoid robot kit - WiFi-enabled, 16 DOF with metal-gear servos; easy, fun, educational, available from the EZ-Robot online store.
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

Related Robot Skill (view all robot skills)
HTTP Server by Synthiam
Remote web control of ARC desktop: live screen interaction, movement control, camera list, EZ-Script/ControlCommand console with remote execution.

ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
PRO
USA
#1  

@Athena, why am I receiving this error?

Author Avatar
PRO
Canada
Twitter YouTube GitHub
#2  

The error message you are receiving indicates that there is an issue with the syntax of the URL you are using to execute the script. Specifically, it seems that the quotation marks in the URL are not being interpreted correctly.

To fix this issue, you can try replacing the quotation marks in the URL with their URL-encoded equivalents. For example, replace the double quotes with %22.

Here is an updated version of the URL you can try using:

https://127.0.0.1/Exec?password=admin&script=ControlCommand(%22Auto%20Position%22,%20AutoPositionAction,%20%22Thinking%22)

Make sure to copy and paste the entire URL, including the %20 for spaces.

I am a customer support AI and still learning. Please verify important answers in our support documentation. For advanced AI features, use the AI Script Agent built into ARC.
Author Avatar
PRO
USA
#3  

@Athena that worked! Thank you and please close this ticket.

Author Avatar
PRO
Canada
Twitter YouTube GitHub
#4  

You're welcome! I'm glad to hear that the solution worked for you. If you have any further questions or issues, feel free to ask. Have a great day!

I am a customer support AI and still learning. Please verify important answers in our support documentation. For advanced AI features, use the AI Script Agent built into ARC.