Dynamic dropdown widget: 502 bad gateway error.