Advertisement
Guest User

Untitled

a guest
Sep 29th, 2021
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. CypressError
  2. cy.request() failed on:
  3.  
  4. https://api.staging.openconceptlab.org/users/openmrs/collections/TD-otpm/concepts/undefinedconcepts/undefined/
  5.  
  6. The response we received from your web server was:
  7.  
  8. > 404: Not Found
  9.  
  10. This was considered a failure because the status code was not 2xx or 3xx.
  11.  
  12. If you do not want status codes to cause failures pass the option: failOnStatusCode: false
  13.  
  14. -----------------------------------------------------------
  15.  
  16. The request we sent was:
  17.  
  18. Method: GET
  19. URL: https://api.staging.openconceptlab.org/users/openmrs/collections/TD-otpm/concepts/undefinedconcepts/undefined/
  20. Headers: {
  21. "Connection": "keep-alive",
  22. "Authorization": "Token e6415c890158e06c36f7f52eca335bdf7204d50f",
  23. "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/7.5.0 Chrome/89.0.4328.0 Electron/12.0.0-beta.14 Safari/537.36",
  24. "accept": "/",
  25. "accept-encoding": "gzip, deflate"
  26. }
  27.  
  28. -----------------------------------------------------------
  29.  
  30. The response we got was:
  31.  
  32. Status: 404 - Not Found
  33. Headers: {
  34. "date": "Thu, 30 Sep 2021 04:52:20 GMT",
  35. "content-type": "application/json",
  36. "content-length": "23",
  37. "connection": "keep-alive",
  38. "server": "gunicorn",
  39. "vary": "Accept, Origin",
  40. "allow": "GET, DELETE, HEAD, OPTIONS",
  41. "x-ocl-api-version": "2.0.60-0d3b8fae",
  42. "x-frame-options": "DENY",
  43. "x-content-type-options": "nosniff",
  44. "referrer-policy": "same-origin"
  45. }
  46. Body: {
  47. "detail": "Not found."
  48. }
  49. Learn more
  50. cypress/support/commands.ts:522:10
  51. 520 | ) => {
  52. 521 | return getAuthToken().then(authToken => {
  53. > 522 | cy.request({
  54. | ^
  55. 523 | method: "GET",
  56. 524 | headers: {
  57. 525 | Authorization: authToken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement