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

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

Author Avatar
PRO
USA
#1  

@Athena, why am I receiving this error?

Author Avatar
PRO
Canada
#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 GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
Author Avatar
PRO
USA
#3  

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

Author Avatar
PRO
Canada
#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 GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.