Facing issue in CORS

We have an Assign Message in place to handle the CORS , initially we have given only manadatory headers for apigee i.e. 4
Once the UI started consuming the Access-Control-Allow-Headers is throwing an error specific headers are missing, to fix this issue we have to add this headers under Access-Control-Allow-Headers ,
The issue is we kept on adding to fix this issue and now the count is beyond 60. Could you please let me know if this issue can be handled by the UI Team so that I don't have to add this headers whenever it comes, or is there any fix in Apigee that I'm missing.

0 1 72
1 REPLY 1


@MShraddha wrote:

we kept on adding to fix this issue and now the count is beyond 60.


Are you saying that in your AssignMessage policy, you are setting 60 headers in the response that begin with Access-Control-*. ? This seems wrong. Can you show your policy? 

Could you please let me know if this issue can be handled by the UI Team so that I don't have to add this headers whenever it comes,


I don't understand what you're asking for here. Can you clarify the problem? Spell it out more clearly for us.