I opened up Postman today and it said I had to login again. I did so and then found that all my tabs were closed and it was like I was a brand new user.
I opened up a query from the side menu but nothing would run with the error about undefined.
I eventually noticed the Environment dropdown was set to No Environment. I changed that to my actual environment and then started getting an error about the BaseURL being undefined.
I then took a closer look at my Environment from the left side menu, and all the variables are blank. api_id, api_key, and baseurl are all empty. Only the auth variable has any data in it. Is that data still stored somewhere that I can just import it or anything> I don’t know what info was in those boxes as It’d been in there for a long time.
Update. I found where I had the ID and Key written down so I put those back in. Now I’m getting a 404 error trying to hit the Logicmonitor API. I see this in the console but don’t know what it means or if it’s causing my issues.
We’ve updated the syntax of pm scripts in Postman and it looks like you’re using some deprecated methods. For example, you need to replace every instance of request.{something} with pm.request.{something}.
Similarly, we no longer import external modules for you by default. You have to import them using the “require” function.