This topic contains 8 replies, has 0 voices, and was last updated by wwinters 7 years, 2 months ago.
-
AuthorPosts
-
May 10, 2017 at 5:57 pm #21683
ialanWe have been using a suitelet for last 5 months and it has been working fine.
Two days back it started throwing error stating:
“The URL you provided doesn't accept a post request. Please, configure your WebHook integration with a valid URL.”
We recently upgraded to 2017.2 release. There was a change in the online form external URLs but I did not see any changes related to Suitelet URL’s.
Do you think this has to do anything with the new release?
This is a cached copy. Click here to see the original post. -
May 11, 2017 at 8:55 am #21684
k_duncJust by chance, you haven't moved over to a new Data Centre have you? BTW, I'm assuming you meant 2017.1?
-
May 11, 2017 at 10:12 am #21685
david.smithI would check what k_dunc suggested and make sure your URL you are posting to hasn't moved.
Also, on the suitelet's deployment make sure the "Event Type" is blank or set to POST Request.
-
May 11, 2017 at 5:31 pm #21686
ialanOriginally posted by k_dunc
View Post
Just by chance, you haven't moved over to a new Data Centre have you? BTW, I'm assuming you meant 2017.1?
Yes, we did get upgraded to 2017.1 recently.
-
May 11, 2017 at 5:34 pm #21687
ialanOriginally posted by david.smith
View Post
I would check what k_dunc suggested and make sure your URL you are posting to hasn't moved.
Also, on the suitelet's deployment make sure the "Event Type" is blank or set to POST Request.
Event type is blank and everything was working fine until last Monday. Nothing is really changed on the suitelet. Do you think it has something to do with the fact that we got upgraded to 2017.1?
-
May 24, 2017 at 5:09 pm #21688
david.smithWas this an externally available URL?
-
May 29, 2017 at 1:25 pm #21689
chanarbonBased on the response thrown, it seems that the Suitelet does have a function to catch request.getMethod() == POST. Also same thing as david.smith , mentioned, are you posting to the suitelet from an external application? You should try reviewing the preferences set on the deployments page.
-
September 19, 2017 at 12:06 pm #21690
stephen.bootWe're getting a similar problem in our TSTDRV account.
Using Unbounce Webhook feature or https://www.hurl.it/ to make a POST request to an external Suitelet URL and we're getting a "405 Method Not Allowed". Using a GET produces "200 OK".
I've also tried setting the Event Type to blank or 'POST' without success.
-
September 20, 2017 at 12:04 pm #21691
wwintersI've found that when sending a POST request to an externally available Suitelet, you also have to set the "User-Agent' string to 'Mozilla/5.0'
Wes
-
AuthorPosts
You must be logged in to reply to this topic.