Skip to main content
Contributor ⭐️⭐️
Oct 13, 2020 2:13 PM UTC
Solved

Getting " no Route matched with those values " Error Message

POST /questions/ask?authorId=deepkandpal" HTTP/1.1
Host: api2-us-west-2.insided.com
Accept: application/json
Authorization: Bearer <access_token>
Content-Type: application/json
Cache-Control: no-cache

response status code = 404

Response 

{
    "message": "no Route matched with those values"
}

 

Thank You in advance

    mstone
    mstoneAnswer
    Helper ⭐️
    Oct 13, 2020 2:35 PM UTC

    Is that a GET request? Looks like your missing the /v2/ .. give this a try:

     

    https://api2-us-west-2.insided.com/v2/questions?page=1&pageSize=25

    6 replies

    mstone
    Helper ⭐️
    Oct 13, 2020 2:17 PM UTC

    @deepkandpal I believe authorId must be a numerical value. 

    Translate
    Contributor ⭐️⭐️
    Oct 13, 2020 2:31 PM UTC

    Thank You for your response @mstone

    I am getting the same error while hitting.

    https://api2-us-west-2.insided.com/questions?page=1&pageSize=25 URL.

    {
        "message": "no Route matched with those values"
    }

     

    Translate
    mstone
    mstoneAnswer
    Helper ⭐️
    Oct 13, 2020 2:35 PM UTC

    Is that a GET request? Looks like your missing the /v2/ .. give this a try:

     

    https://api2-us-west-2.insided.com/v2/questions?page=1&pageSize=25

    Translate
    Contributor ⭐️⭐️
    Oct 13, 2020 2:54 PM UTC

    Thank You so much @mstone .

    Working Fine Now.

    Translate
    tom.shaddock
    Gainsight Employee ⭐️⭐️
    Oct 14, 2020 8:16 AM UTC

    Thanks for that answer @mstone! @deepkandpal  yep so the user endpoints have no /v2/ in the url (e.g https://api2-us-west-2.insided.com/user) while all other endpoints do have it.  If you’re ever unsure of what the full url is for the API call, you can always get it from the documentation just by clicking on the route it opens a popup with the full url in e.g:
     

     

     

    Translate
    Contributor ⭐️⭐️
    Oct 14, 2020 8:34 AM UTC

    Thank You tom.shaddock.

    Translate