Hey folks,
I am a noob at Node.js, so sorry if I am missing some obvious points. I converted my application from UI to CLI by using zapier convert command without issues. However, I couldn’t manage to run tests.
I am getting “Only absolute URLs are supported” message after zapier test command. The message info goes on with the endpoint of my API: “{{process.env.API_URL}}/calculations/...”.
What should I do to resolve this issue? My UI version works flawlessly at the end. So, I don’t want to make changes like replacing variables with static values.
I have understood that I can get the variables from the .env file, but my .env doesn’t include a variable API_URL. It has only ACCESS_TOKEN and REFRESH_TOKEN. Also, I can’t access them if I wrapped them between curly brackets like the one above ({{process.env.API_URL}}).
Thanks in advance.