Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
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

Closed

Description

@dstokes

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.

Activity

  1. 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
  2. jasdel commented on Jul 31, 2015

    @jasdel
    Contributor

    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

  3. added
    bug
    on Jul 31, 2015
  4. dstokes commented on Jul 31, 2015

    @dstokes
    Author

    @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

  5. added 2 commits that reference this issue on Mar 16, 2016
    4def568
    fdad9d9
  6. added a commit that references this issue on Mar 18, 2016
  7. added 4 commits that reference this issue on Apr 18, 2016
    cfb9e57
    3e4095f
    0bb45b4
    e008d15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions