Jump to content
Sign in to follow this  

GetAsURL not working for me - 403 error

Recommended Posts

I don't know why but the following URL:

&from=<email address>
&to=<email address>

works fine when I use:


- paste it into the web browser

- use insert from URL script step


but not when I use




Error I get is:


java.io.IOException: Server returned HTTP response code: 403 for URL.... etc

Share this post

Link to post
Share on other sites

I was able to replicate your error here from our example file but was also able to use different URLs to get a successful return. 403 errors are kind of ambiguous so there could be any number of reasons why you got that forbidden error. That module is just trying to hit the URL using the URL class in java so since there is no browser to take care of any kind of overhead needed to access this site (hence why you can paste it into an address bar with no problems) you are given the 403 response from the server. This is just one of the many possibilities. I found an issue on stack overflow that may help http://stackoverflow.com/questions/13670692/403-forbidden-with-java-but-not-web-browser. From that post it looks like you can tweak the code in the GetURLasText module to work for you.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.