GSA / ITDB-schema

IT Dashboard submissions schema, documentation and example files.
18 stars 24 forks source link

[IT COLLECT} Something is broken. Please let us know what you were doing when this error occurred. #471

Open KellyHarrisT opened 2 years ago

KellyHarrisT commented 2 years ago

POST: https://staging-itc-cpic.itdashboard.gov/v1/services/015000000046/projects

JSON: {"projectId":"202378","projectName":"Account Management Service","projectGoal":"AMS is a strategic program that delivers improved customer support for managing taxpayer accounts for over 34,000 end-users. Deliver Filing Season modifications in support of legislative and filing season tax year changes.","startDate":"2020-10-01","endDate":"2021-09-30","totalCost":12.050016,"softwareProject":true,"incrementalDevelopment":false,"iterationFrequencyUnits":"Days"}

Response: {StatusCode: 405, ReasonPhrase: 'Method Not Allowed', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:{ Cache-Control: no-cache, private Date: Thu, 21 Oct 2021 17:52:50 GMT Link: http://staging-itc-cpic.itdashboard.gov/docs.jsonld; rel="http://www.w3.org/ns/hydra/core#apiDocumentation" Server: istio-envoy x-envoy-upstream-service-time: 111 X-Request-ID: 018fb65e-e97b-9d66-b388-ebedeaf0b5c2 Connection: keep-alive Strict-Transport-Security: max-age=31536000; includeSubDomains; preload Set-Cookie: NSC_MC-NDbbT-JUEC-Tubhjoh=14b5a3d9a3f31ca2963472694bde51501f4c171a88159b936bef8123c46473147a23b3bb;Version=1;Max-Age=120;path=/;httponly Set-Cookie: citrix_nsid.itdashboard.gov_%2F_wlf=AAAAAAVrpmFlU8wrTZ3xq9ic05Haku1qAo3zh3f1m61J-ZUr_KQt8oIx-UZXrUYMy9LB4iVvyGuBStbNwUluoY93rIRO9wuCIZnwtKucOYkFJXoAU1DuvaTG2MBzYVaPatAWkxY=&; Domain=.itdashboard.gov; Max-Age=604800; Path=/; Version=1; HttpOnly Transfer-Encoding: chunked Allow: GET Allow: POST Content-Type: application/json}, Trailing Headers:{}}

Result: <!DOCTYPE html>

An Error Occurred: Method Not Allowed

Oops! An Error Occurred

The server returned a "405 Method Not Allowed".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

lschwenkebah commented 2 years ago

Hi Kelly,

Thank you for sending this, we are taking a closer look and will get back to you.

Best, Luke ITDB Support

lschwenkebah commented 2 years ago

Hi Kelly,

Are you seeing this error on ever request? Let us know if you are still able to recreate this, thank you.

Best, Luke ITDB Support

KellyHarrisT commented 2 years ago

I am only “PATCHING” one item (I mistakenly said POST). I continue to get the error.

Kelly

From: Luke Schwenke @.> Sent: Thursday, October 21, 2021 3:53 PM To: GSA/ITDB-schema @.> Cc: Harris, Kelly @.>; Author @.> Subject: Re: [GSA/ITDB-schema] [IT COLLECT} Something is broken. Please let us know what you were doing when this error occurred. (Issue #471)

Caution: External email. Pay attention to suspicious links and attachments. Send suspicious email to **@.*

Hi Kelly,

Are you seeing this error on ever request? Let us know if you are still able to recreate this, thank you.

Best, Luke ITDB Support

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/GSA/ITDB-schema/issues/471#issuecomment-948953777, or unsubscribehttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/notifications/unsubscribe-auth/ALE6BHQOICE74MZY6BDDKQ3UIBVRDANCNFSM5GOXXEPA. Triage notifications on the go with GitHub Mobile for iOShttps://hyperlink.services.treasury.gov/agency.do?origin=https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://hyperlink.services.treasury.gov/agency.do?origin=https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

KellyHarrisT commented 2 years ago

Current Status? I still receive the same error on a "Patch" of Projects.

lschwenkebah commented 2 years ago

Hi Kelly,

Thank you for following up here. Would it be alright if we PATCH this exact project for you? We are not able to recreate this on our end, so using your exact resource will help.

Best, Luke ITDB Support

KellyHarrisT commented 2 years ago

Absolutely, it is on staging Server.

Though, how will that help our testing?

From: Luke Schwenke @.> Sent: Tuesday, October 26, 2021 9:46 AM To: GSA/ITDB-schema @.> Cc: Harris, Kelly @.>; Author @.> Subject: Re: [GSA/ITDB-schema] [IT COLLECT} Something is broken. Please let us know what you were doing when this error occurred. (Issue #471)

Caution: External email. Pay attention to suspicious links and attachments. Send suspicious email to **@.*

Hi Kelly,

Thank you for following up here. Would it be alright if we PATCH this exact project for you? We are not able to recreate this on our end, so using your exact resource will help.

Best, Luke ITDB Support

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/GSA/ITDB-schema/issues/471#issuecomment-951956097, or unsubscribehttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/notifications/unsubscribe-auth/ALE6BHULMYF6VTUWZULXVG3UI2WIFANCNFSM5GOXXEPA. Triage notifications on the go with GitHub Mobile for iOShttps://hyperlink.services.treasury.gov/agency.do?origin=https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://hyperlink.services.treasury.gov/agency.do?origin=https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

lschwenkebah commented 2 years ago

Hi Kelly,

Thank you for confirming. We were able to successfully PATCH this project and could not recreate the 405 error. Are you using Postman to test or another application?

Best, Luke ITDB Support

KellyHarrisT commented 2 years ago

I am using the our tool for testing. I will review the process. Any ideas where I should look?

Kelly

From: Luke Schwenke @.> Sent: Tuesday, October 26, 2021 12:26 PM To: GSA/ITDB-schema @.> Cc: Harris, Kelly @.>; Author @.> Subject: Re: [GSA/ITDB-schema] [IT COLLECT} Something is broken. Please let us know what you were doing when this error occurred. (Issue #471)

Caution: External email. Pay attention to suspicious links and attachments. Send suspicious email to **@.*

Hi Kelly,

Thank you for confirming. We were able to successfully PATCH this project and could not recreate the 405 error. Are you using Postman to test or another application?

Best, Luke ITDB Support

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/GSA/ITDB-schema/issues/471#issuecomment-952106636, or unsubscribehttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/notifications/unsubscribe-auth/ALE6BHX5XR3HILFYVJAG6ILUI3I7ZANCNFSM5GOXXEPA. Triage notifications on the go with GitHub Mobile for iOShttps://hyperlink.services.treasury.gov/agency.do?origin=https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://hyperlink.services.treasury.gov/agency.do?origin=https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

lschwenkebah commented 2 years ago

Hi Kelly,

Thank you for following up. We are not familiar with your specific tool implementation, but our suggestion would be to profile your request to make sure you are sending a PATCH/PUT. On our end, PUT/PATCH requests are working as designed.

Please ensure you are using the following URL's for Staging, and your agencyId's are correct for the path parameter:

baseUrl = https://staging-itc-cpic.itdashboard.gov PATCH Project = {{baseUrl}}/v1/services/:service/projects/:agencyId service = 015000000046 agencyId = 200100

Please let us know if you have additional questions.

Best, Luke ITDB Support