GSA / ITDB-schema

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

[IT COLLECT] - Confusing Extra Attribute Response "(\u00220\u0022 are unknown)" #460

Open KellyHarrisT opened 2 years ago

KellyHarrisT commented 2 years ago

URL https://staging-itc-cpic.itdashboard.gov/v1/services/015000000046/ledgers?ITCOLLECT_VALIDATE_ONLY=true DATA: [{"agencyId":"2021ITCP01","costItem":"IT Cost Pool","year":2021,"amount":9.542482,"type":"O&M","costPool":"Internal Labor","ITTower":"End User","source":"Internal Funding","ledgerElementStyle":"TBM Only","isRetired":false}]

Responds with Bad Request {"@context":"\/contexts\/Error","@type":"hydra:Error","hydra:title":"ExtraAttributesException","hydra:description":"Extra attributes are not allowed (\u00220\u0022 are unknown).","hydra:request_id":"1fead688-b002-9490-b2e0-c7ab4b6aa893"}

Thank You

rydougherty commented 2 years ago

Hi Kelly,

Thanks for sending this over. Can you please confirm what operation you are using for this submission? Is it a POST, PATCH, or PUT?

Thanks, Ryan

KellyHarrisT commented 2 years ago

Post

From: rydougherty @.> Sent: Friday, September 3, 2021 12:33 PM To: GSA/ITDB-schema @.> Cc: Harris, Kelly @.>; Author @.> Subject: Re: [GSA/ITDB-schema] [IT COLLECT] - Confusing Extra Attribute Response "(\u00220\u0022 are unknown)" (#460)

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

Hi Kelly,

Thanks for sending this over. Can you please confirm what operation you are using for this submission? Is it a POST, PATCH, or PUT?

Thanks, Ryan

— 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/460#issuecomment-912665628, or unsubscribehttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/notifications/unsubscribe-auth/ALE6BHQXBETNIZWV75FHYCLUAD2DLANCNFSM5DLWMSYA. 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,

The resource you provided submitted (POST) without issues on our end with validate-only = true and false. We suspect this might be an encoding issue on your end since "u0022" is unicode for a quotation mark.

Please let us know if you are still having trouble with submitting Ledger items after resolving this.

Thanks, Luke

KellyHarrisT commented 2 years ago

I am using UTF-8 encoding. Do you suggest something different? Any idea what piece of data it is catching on that would give the following: @.**@.https://github.com/type":"hydra:Error","hydra:title":"ExtraAttributesException","hydra:description":"Extra attributes are not allowed (\u00220\u0022 are unknown).","hydra:request_id":"1fead688-b002-9490-b2e0-c7ab4b6aa893"}

Thank You

From: Luke Schwenke @.> Sent: Friday, September 3, 2021 3:25 PM To: GSA/ITDB-schema @.> Cc: Harris, Kelly @.>; Author @.> Subject: Re: [GSA/ITDB-schema] [IT COLLECT] - Confusing Extra Attribute Response "(\u00220\u0022 are unknown)" (#460)

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

Hi Kelly,

The resource you provided submitted (POST) without issues on our end with validate-only = true and false. We suspect this might be an encoding issue on your end since "u0022" is unicode for a quotation mark.

Please let us know if you are still having trouble with submitting Ledger items after resolving this.

Thanks, Luke

— 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/460#issuecomment-912760370, or unsubscribehttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/notifications/unsubscribe-auth/ALE6BHWUP2VV7BY5MVEZ4CLUAEOHRANCNFSM5DLWMSYA. 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

I am still have an issue. I am using UTF8 for encoding. What is \u00220\u0022? \u0022 is a double quote ("). What is \u00220? I do not see anywhere that there is two double quotes together. I also do not see any "special characters"

KellyHarrisT commented 2 years ago

The last release went from taking an array of ledgers to one at a time.