"Duplicate Header \"Expires\"" and "errorcode": "protocol.http.DuplicateHeader"

Not applicable

Iam using APIGEE free account and trying to create a proxy for a target, its a get request and I endup getting below in response.

{ "fault": { "faultstring": "Duplicate Header \"Expires\"", "detail": { "errorcode": "protocol.http.DuplicateHeader" } } }

I found there is a work around for purchased license or on premises account. But can anyone help me out or suggest some work arounds for free account.

1 6 1,531
6 REPLIES 6

@Gokulakrishnan , Welcome to Apigee Community. I have asked experts to comment on same. Please stay tuned.

Not applicable

allowDuplicates for a header/headers is part of the http.properties on the MP. I don't think there is any workaround other than enabling this and restarting your MP.

For free accounts, pls check with support to see if that possible or not.

BTW, what is the workaround that you found for purchased license and on premises accounts? Gokulakrishnan

Not applicable

Is there any possibility of receiving the entire HTTP header and payload and not kick in the Apigee error handling ? Why is this to be done at a Apigee Instance level?

Not applicable

I have removed "Expires" header before making call to target server, but still I am facing this issue. Is there any workaround that we can do at proxy level only. I mean using any policy. Please suggest.

Also wondered, in trace I am not able to find the "Expires" header !!.

I have tried the same. Still having issue. Did anyone have success on this issue?

Can you please open a new question? If you like, you can refer to this 4-year old thread by linking to it from your new question.