Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CypressError
- cy.request() failed on:
- https://api.staging.openconceptlab.org/users/openmrs/collections/TD-otpm/concepts/undefinedconcepts/undefined/
- The response we received from your web server was:
- > 404: Not Found
- This was considered a failure because the status code was not 2xx or 3xx.
- If you do not want status codes to cause failures pass the option: failOnStatusCode: false
- -----------------------------------------------------------
- The request we sent was:
- Method: GET
- URL: https://api.staging.openconceptlab.org/users/openmrs/collections/TD-otpm/concepts/undefinedconcepts/undefined/
- Headers: {
- "Connection": "keep-alive",
- "Authorization": "Token e6415c890158e06c36f7f52eca335bdf7204d50f",
- "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",
- "accept": "/",
- "accept-encoding": "gzip, deflate"
- }
- -----------------------------------------------------------
- The response we got was:
- Status: 404 - Not Found
- Headers: {
- "date": "Thu, 30 Sep 2021 04:52:20 GMT",
- "content-type": "application/json",
- "content-length": "23",
- "connection": "keep-alive",
- "server": "gunicorn",
- "vary": "Accept, Origin",
- "allow": "GET, DELETE, HEAD, OPTIONS",
- "x-ocl-api-version": "2.0.60-0d3b8fae",
- "x-frame-options": "DENY",
- "x-content-type-options": "nosniff",
- "referrer-policy": "same-origin"
- }
- Body: {
- "detail": "Not found."
- }
- Learn more
- cypress/support/commands.ts:522:10
- 520 | ) => {
- 521 | return getAuthToken().then(authToken => {
- > 522 | cy.request({
- | ^
- 523 | method: "GET",
- 524 | headers: {
- 525 | Authorization: authToken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement