You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
SQS DeleteMessage returning Unmarshal error when service is unavailable #331
I'm seeing the following error output when receiving a Service Unavailable error response from the Amazon API:
Unmarshal: failed to decode query XML error response
caused by: expected element type <ErrorResponse> but have <ServiceUnavailableException>
I suspect this is being caused by the missing ServiceUnavailableException error type the deleteMessage endpoint schema but I'm not 100% sure. I'm happy to open a pull request if someone more familiar with the project can confirm.
changed the title [-]SQS DeleteMessage returning Unmarshal error when service is unavailabl[/-][+]SQS DeleteMessage returning Unmarshal error when service is unavailable[/+]on Jul 31, 2015
Thanks for reporting the issue @dstokes. I think for this type of error we'll need to handle it genericly since it may be possible for it occur on other services also. I expect once it is fixed, the error returned will have a Code of ServiceUnavailableException
Activity
[-]SQS DeleteMessage returning Unmarshal error when service is unavailabl[/-][+]SQS DeleteMessage returning Unmarshal error when service is unavailable[/+]jasdel commentedon Jul 31, 2015
Thanks for reporting the issue @dstokes. I think for this type of error we'll need to handle it genericly since it may be possible for it occur on other services also. I expect once it is fixed, the error returned will have a Code of ServiceUnavailableException
dstokes commentedon Jul 31, 2015
@jasdel good point. i noticed it was already declared in some api schemas but handling it generically would resolve it oce and for all, i imagine
private/protocol/query: Add parsing of ServiceUnavailableException
private/protocol/query: Add parsing of ServiceUnavailableException
Tag release v1.1.12
private/protocol/query: Add parsing of ServiceUnavailableException
Tag release v1.1.12
private/protocol/query: Add parsing of ServiceUnavailableException
Tag release v1.1.12
service/rds: Fix presign URL for same region (aws#331)
Release v0.10.0 (2019-07-24) (aws#344)