Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul D'Ambra 10 posts 81 karma points
    May 25, 2017 @ 10:12
    Paul D'Ambra
    1

    Error after adding a new NuPicker

    Hi,

    We are already using the JSON nupicker to populate a dropdown in the CMS.

    I copied what we had to add a new one and receive the message

    { "Message": "The requested resource does not support http method 'GET'." }

    If I visit the URL set on the data type I receive an array of objects as I'd expect.

    I have since simply duplicated the settings so that I have a new data type with a different name but the exact same settings as a working nupicker dropdown and still get that error message.

    What can I do to investigate/resolve this?

    Thanks in advance for any help...

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    May 25, 2017 @ 10:52
    Nik
    1

    Hey Paul,

    I've normally seen this message when a re-write rule is getting in the way changing a request that is normally a post to a get. Might be worth just double checking that.

    Nik

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 25, 2017 @ 11:10
    Hendy Racher
    0

    Hi, this is a guess, but can you try clearing the client dependency cache ? (/App_Data/Temp/ClientDependency/.)

  • Paul D'Ambra 10 posts 81 karma points
    May 25, 2017 @ 11:56
    Paul D'Ambra
    0

    Ah, it does look like one of our redirects is changing a POST to a GET.

    When I resolve that then I get an error because nuPicker cannot establish a trust relationship with my API. Which I guess is true because I'm running locally and the certificate isn't valid.

    ""ExceptionMessage":"The remote certificate is invalid according to the validation procedure.","

    Is there a way to tell nuPicker to ignore the invalid certificate?

Please Sign in or register to post replies

Write your reply to:

Draft