I am currently trying to create a plugin similar to Kong-middleman by pantsel, however I needed that Authorization header that is why I opted to create a new one. I have successfully call the plugin that calls a http request. However, when it is about to proceed to call the endpoint api, I am getting this error.
74 failed to run body_filter_by_lua: /usr/local/share/lua/5.1/kong/core/handler.lua:556: attempt to perform arithmetic on field ‘KONG_HEADER_FILTER_STARTED_AT’ (a nil value)
I’m not sure why it triggers that. can anyone help me?
Thank you in advance.