-
Notifications
You must be signed in to change notification settings - Fork 837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't see requests in Postman app, however they are available via Postman API #11427
Comments
@MitriSan Thanks for providing the detailed context. You are right. The automated workflow request could cause the collection to be in this state. Can you share the payload that the automated user used to make the update call to the collection? |
Hi @shubhbhargav , thanks for quick response. The thing is that we use {
"name": "Air Waybill (AWB)",
"folder": "1254052f-7061-4d6f-ba5b-7f1ade1456c3",
"id": "30e2aa3f-c4ec-4e25-b5bc-2ee736df97d4"
} and for request: {
"owner": "10978080", "lastUpdatedBy": "10978080",
"lastRevision": 27609165121, "folder": "30e2aa3f-c4ec-4e25-b5bc-2ee736df97d4",
"collection": "17867205-9fadfe3e-1c62-448c-b56e-8e638332bc83", "id": "75bb9e8b-21bc-4ccf-9788-e843c3b7e1a8",
"name": "Finalizing a box", "dataMode": "raw", "data": null, "auth": null, "events": null,
"rawModeData": "{\n 'copy_count': 1\n}", "descriptionFormat": null, "description": "****",
"variables": null, "headers": "Content-Type: application/json\nAccept: application/json",
"method": "POST", "pathVariables": null, "url": "{{baseUrl}}/box/finalize", "preRequestScript": null,
"tests": null, "currentHelper": null, "helperAttributes": null, "queryParams": [],
"headerData": ["***"],
"pathVariableData": [],
"protocolProfileBehavior": {"disableBodyPruning": true},
"dataDisabled": false,
"responses_order": ["b5430908-92d5-46e5-b8d7-b5bdb2e6f10b", "e9c560b2-6d41-4b44-8b27-d68c96b1508b"],
"createdAt": "2022-11-07T17:37:47.000Z",
"updatedAt": "2022-11-07T17:37:50.000Z",
"dataOptions":
{
"raw": {"language": "json"}
}
} |
Thanks @MitriSan. Looks like we are trying to send a few extra fields in the payload for the request which is causing this. Can you try removing |
Hi @shubhbhargav . So i still can see the request via Postman API, and can't see it in the app :( |
@MitriSan That's not expected. We are looking into this. |
@MitriSan While the team is looking into this, I have found an alternative to bypass the issue. If you create the collection with the collection ID using the programmatic user itself, it would work. Can you give it a try once? |
Hi @shubhbhargav ! Thanks, this approach works, but the issue is that our team wants to manipulate existing collection. And this existing collection has forks and actively used by our customers, so we can't just recreate it. |
@MitriSan we are working on a solution for this and should have it fixed by early next week. Will let you know once it is fixed, thanks. |
@MitriSan this has been fixed now, let me know if you are still facing issues. |
@harsh-bansal97 Hi, thanks for the quick fix! However, i think it's more of a feature request - is it possible to return UID for requests, responses and folders in Postman API? Example workflow - list collection to delete requests you want to replace, and you can't use raw IDs from |
@MitriSan thanks for the input, we are aware of this dissonance and it is something we have plans to improve upon but unfortunately I dont have a timeline for you yet. Will check if we can fast-track this and get back. |
@harsh-bansal97 nice, this feature would be really appreciated ! But for this bug i'm closing this issue, as it's fixed |
Is there an existing issue for this?
Describe the Issue
So, after some programmatic workflow, i've faced several issues:
2.1. When i click on a request, it says not found
2.2 All requests in the list are
GET
, however they should have different operations(PUT, DELETE etc.)The main thing is that the collection is public, so the content should be visible to anyone, but with described scenario even owner of this collection can't see requests in Postman app.
Steps To Reproduce
Screenshots or Videos
2.User can't see request in Postman app, but can see this request in Postman API:
Operating System
macOS
Postman Version
9.31.18
Postman Platform
Postman App
Additional Context?
We are trying to automate workflow for keeping our collections and requests up to date. We created a programmatic user for this purpose, however, when this user performs operations on existing collections, it leads to an unexpected result, such as created requests are not visible. This might be connected to a previous issue i opened - #11407 - postman app itself doesn't use UUID for requests(or use owner id of collection always). However, it's just my guess
The text was updated successfully, but these errors were encountered: