vtex-apps / availability-notify

3 stars 3 forks source link

processUnsentRequests API not working in Postman #100

Open kirtiborn opened 3 months ago

kirtiborn commented 3 months ago

I have checked processUnsentRequests API in Poastman it is notworking. I have passed credentials in header.

Error:

{ "data": { "processUnsentRequests": null }, "errors": [ { "message": "GraphQL.ExecutionError: Unauthorized", "locations": [ { "line": 2, "column": 3 } ], "path": [ "processUnsentRequests" ], "extensions": { "code": "Unauthorized" }, "positions": [ 35 ], "name": "GraphQLError", "source": { "body": "mutation ProcessUnsentRequests {\n processUnsentRequests: vtex_availabilitynotify_1_13_1_processUnsentRequests {\n skuId: vtex_availabilitynotify_1_13_1_skuId\n email: vtex_availabilitynotify_1_13_1_email\n quantityAvailable: vtex_availabilitynotify_1_13_1_quantityAvailable\n sent: vtex_availabilitynotify_1_13_1_sent\n updated: vtex_availabilitynotify_1_13_1_updated\n }\n}\n", "name": "GraphQL request", "locationOffset": { "line": 1, "column": 1 } } } ] }

processUnsentRequests-Error1

processUnsentRequests-Error2