Skip to content

APIM returns 500 Error when one of backend azure openai returns 429 at the first time. #29

Description

@nowjean

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

429 Retry test

Any log messages given by the failure

APIM returns 500 Error when one of backend azure openai returns 429 at the first time.
Second try is ok to retry another azure openai backend.

Expected/desired behavior

There is no 500 error when one of azure openai returns 429.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Using Azure portal APIM policy with apim-policy.xml

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions