This topic contains 8 replies, has 0 voices, and was last updated by wwinters 7 years, 2 months ago.

  • Author
    Posts
  • #21683

    ialan

    We 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.

  • #21684

    k_dunc

    Just by chance, you haven't moved over to a new Data Centre have you? BTW, I'm assuming you meant 2017.1?

  • #21685

    david.smith

    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.

  • #21686

    ialan

    Originally 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.

  • #21687

    ialan

    Originally 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?

  • #21688

    david.smith

    Was this an externally available URL?

  • #21689

    chanarbon

    Based 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.

  • #21690

    stephen.boot

    We'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.

  • #21691

    wwinters

    I'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

You must be logged in to reply to this topic.