shreemaan-abhishek commented on issue #10730:
URL: https://github.com/apache/apisix/issues/10730#issuecomment-1905533233

   okay I get it now. The problem is in your custom serverless function and 
your understanding of the serverless function.
   
   Route matching always happens before any plugins are executed. According to 
your route configuration, the very first time you try to access your route, it 
will look for the `sub` variable, which has not yet been registered because the 
serverless plugin hasn't yet been executed (it can only be executed post route 
matching).
   
   I hope this resolves your problem.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to