Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Dec 2021 03:54 PM by  Deleted User
SalesOrderSet - The requested resource does not support http method 'GET'.
 24 Replies
Sort:
You are not authorized to post a reply.
Page 1 of 512345 > >>
Author Messages


New Member


Posts:14
New Member


--
03 Dec 2021 02:08 PM

    Im on DNN 9.10.1 using storefront 17.8 - both recently updated from a much younger version.

    I can add to cart, but when I go to checkout I get a loading indicator that doesn't go away.

    The console shows a 404 error to: https://mydomain.com/API/...language=en-US 

    If I attempt to visit that in the browser I get:

    The requested resource does not support http method 'GET'.

     

     

    0


    Veteran Member


    Posts:2956
    Veteran Member


    --
    03 Dec 2021 03:36 PM

    Hi,

    It sounds like your IIS is not allowing REST API to correctly connect? If you go to your Cart page and try to update the cart, does it work? Do you get a JS error (please post)?

    0


    New Member


    Posts:14
    New Member


    --
    06 Dec 2021 08:56 PM

    So I was unable to update the cart until I followed the steps number 7 here:

    https://www.revindex.com/...efront/common-errors

    That seemed to remedy that issue, but not this one.

    I posted a screenshot from chrome console of the exact error

     

    Attachments
    0


    Veteran Member


    Posts:2956
    Veteran Member


    --
    07 Dec 2021 03:11 PM

    If you look at your the Chrome developer tool (F12), under the Network  tab, find the call that returns an error (e.g. 404 or 500, etc.). Look at the Response, it should be JSON data. If it's not JSON data, that means your IIS server has replaced it with its own error page (usually HTML). One way this can happen is if your IIS web.config specifies custom errors using the httpErrors section will prevent JSON from returning correctly. In this case you want to remove the custom errors section in your web.config and retry.

    [httpErrors errorMode="DetailedLocalOnly"]...[/httpErrors]   (*Square bracket is angled bracket)

      ...

    Let us know how it goes. We'll put something in the FAQ to help others with the same problem.

    0


    Veteran Member


    Posts:2956
    Veteran Member


    --
    07 Dec 2021 03:36 PM
    We added a FAQ point #9 to describe this error.
    0
    You are not authorized to post a reply.
    Page 1 of 512345 > >>