postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.86k stars 841 forks source link

I cannot confirm the delete of an API #11372

Closed hansRapnhap closed 2 years ago

hansRapnhap commented 2 years ago

Is there an existing issue for this?

Describe the Issue

In Postman, I have several API's that I want to delete. they are called Rexel Belgium APIs - Integration

In the actual version, the delete asks me to type in the name of the API, but this does not work.

Trying the same with an API called New API works fine...

Steps To Reproduce

take my file rexel.json.txt and rename it to rexel.json

Import my API Rexel Belgium APIs - Integration

delete it

Screenshots or Videos

afbeelding

Operating System

Windows 10

Postman Version

10

Postman Platform

Postman App

Additional Context?

rexel.json.txt

DannyDainton commented 2 years ago

Hey @hansRapnhap

Just to confirm as it's hard to see from the image, does the name in the text field have a trailing whitespace?

I've just imported your API spec file - It looks like there's an extra space at the end of the name so if you highlight the API name that you can see in the modal and the extra space at the end of it, it will show the delete button as active:

image

From your imported file, I can see that the API name has an extra space at the end of it:

image

DannyDainton commented 2 years ago

Hey @hansRapnhap

Did that solve the issue for you?

hansRapnhap commented 2 years ago

No

Hans Cardoen @.***

Op 19 okt. 2022 om 17:45 heeft Danny Dainton @.***> het volgende geschreven:

 Hey @hansRapnhap

Just to confirm as it's hard to see from the image, does the name in the text field have a trailing whitespace?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

DannyDainton commented 2 years ago

Is it the same for every API? Or just that one?

Did you try removing the extra trailing space that's been added to the API name, saving the API and trying to delete it again?

DannyDainton commented 2 years ago

Closing this due to inactivity - If you're still facing this issue, please provide some additional information to help us to triage this further.