Solved

Getting " no Route matched with those values " Error Message

  • 13 October 2020
  • 6 replies
  • 10330 views

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

icon

Best answer by mstone 13 October 2020, 16:35

View original

6 replies

Badge

@deepkandpal I believe authorId must be a numerical value. 

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"
}

 

Badge

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

Thank You so much @mstone .

Working Fine Now.

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:
 

 

 

Thank You tom.shaddock.

Reply