Jump to content

Character limit when creating the Network Resource?


tmorse305

Recommended Posts

Posted (edited)

Is there a character limit when creating the "Path" for a network resource?  I have a 135 character "path" which adds ok.  I can see the whole path but when I test it I get a 403 error.  If I take the whole url and paste it into a browser it works fine.  I have lots of network resources configured that work fine but nothing close to the length of this one.

This is the url:

https://www.virtualsmarthome.xyz/url_routine_trigger/activate.php?trigger=023dfc97-3d2e-4c32-a3e2-b8ee5c0e7ca9&token=af23886c-91a9-4b84-****-1541bc9237b9&response=html

I have it set to https, POST, Port 443, Timeout 10000, Mode: URL-Encoded

I've tried C Escaped but same result

I've tried the 2 check boxes but no luck there either.

Thanks for any advice.

 

Update:

I've confirmed that the entire url is being sent by eisy, using Wireshark, so that's not the issue. 


 

Resource.png

Edited by tmorse305
Posted (edited)
21 hours ago, tmorse305 said:

Is there a character limit when creating the "Path" for a network resource?  I have a 135 character "path" which adds ok.  I can see the whole path but when I test it I get a 403 error.  If I take the whole url and paste it into a browser it works fine.  I have lots of network resources configured that work fine but nothing close to the length of this one.

This is the url:

https://www.virtualsmarthome.xyz/url_routine_trigger/activate.php?trigger=023dfc97-3d2e-4c32-a3e2-b8ee5c0e7ca9&token=af23886c-91a9-4b84-****-1541bc9237b9&response=html

I have it set to https, POST, Port 443, Timeout 10000, Mode: URL-Encoded

I've tried C Escaped but same result

I've tried the 2 check boxes but no luck there either.

Thanks for any advice.

 

Update:

I've confirmed that the entire url is being sent by eisy, using Wireshark, so that's not the issue. 


 

Resource.png

REST commands use GET, not POST. This may depend on what device you are talking to though.

Edited by larryllix
Posted (edited)
On 9/8/2025 at 8:00 PM, tmorse305 said:

I can see the whole path but when I test it I get a 403 error.

A 403 error generally means that the server has received your command but has decided that you're not authorized to execute that command.  So unless the URL that you're trying to use includes credentials (and they're being cutoff because the URL is too long), I don't think the problem is the length of your URL, but instead that you must first authenticate so that the server knows your are authorized.

This is from the virtualsmarthome.xyz website:

image.thumb.png.56af585963e5b41e1f1d7edda311fc92.png

Since you have an URL, I'm assuming that you've completed steps 1 & 2, but have you also done steps 3 & 4?  I have absolutely no experience with Alexa skills, nor virtualsmarthome.xyz, so I'm just shooting in the dark in case any of this triggers (all puns intended) something in your mind.

Edited by kclenden
Added steps from virtualsmarthome.xyz website

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...