Tim Fowle Posted May 25, 2021 Posted May 25, 2021 Hi All, Has anyone had any success connecting Postman to the Sage GraphQL sandbox environment? I've followed all the instructions here https://developer.sage.com/api/x3/graphql/quick-start-guide/ but no joy. Postman just pops up the OAuth window with the text "{"message":""}" in it. Its soooooo frustrating. Many Thanks.
Lamarca Tio, Alex Posted May 27, 2021 Posted May 27, 2021 Hi Tim, I think the X3 endpoint is down... if you try to use the "API reference & explorer" on the Developer portal is not working either. Hopefully they get that up soon (I sent a message to a responsible for that). Thanks, Alex
Lamarca Tio, Alex Posted May 27, 2021 Posted May 27, 2021 Hi again Tim, Someone just told me that link is to an old page; the new documentation can be found here: https://developer.sage.com/x3/graphql/ and the Quick Start Guide here: https://developer.sage.com/x3/graphql/quick-start/
Jimmy Thomas Posted August 20, 2021 Posted August 20, 2021 Hello! I am learning about GraphQL for X3. I have taken a short introductory course on Sage University, and I have installed Postman to my local machine. I am trying to register an app, but I do not know what to enter for the Notification URI and the Redirect URI. My apologies for my ignorance. Any assistance would be greatly appreciated! Jimmy
Jimmy Thomas Posted August 20, 2021 Posted August 20, 2021 Hello! Just a follow-up. I was able to complete the API registry. I am now at the step, "Make your first API calls with Postman," and I am stuck there. Per the steps, I am editing the Postman import collection. And in the Authorization tab, I am attempting to "Get New Access Token". But am so far unsuccessful. After I fill in the fields and select "Get New Access Token," two dialogs display. One is a progress screen for "Get New Access Token." The other dialog is a Postman screen entitled, "Postman OAuth 2.0", having the menu tabs "File", "Edit", "View", and "Help", and displaying the text, "{message":""}". The process holds at this point until I "X" out of the "Postman OAuth 2.0" screen. Whereupon the other dialog status changes to "Authentication failed". My guess is that I don't have the fields entered correctly. But have not yet determined resolved this. Any help is appreciated!
Lamarca Tio, Alex Posted August 26, 2021 Posted August 26, 2021 Hi Jimmy, Could you post an screenshot of that dialog/error? Hide the relevant info. Thanks
Touresse Posted May 30, 2022 Posted May 30, 2022 Hello, Just like Jimmy, I'm trying to use Postman in order to test the GraphQL API. Right now, I'm at the step "Make your first API calls with Postman", where you use an oauth2 authentification with Postman to get an access token. I'm also stuck here, as I'm receiving the following message "{"message":""}" when I'm attempting to "Get New Access Token". The Postman console also indicate a code 404 next to the call. I've filled the fields as shown in the quick start guide (https://developer.sage.com/x3/graphql/quick-start/make-api-calls-with-postman/), but I guess I must fill these with custom values (like my sage X3 address, ...). I also tried to fill the fields with these informations, but no results so far. I couldn't find any example other than that, so I'd like to know if anyone managed to configure correctly these fields ? If that's the case, could you give me some explanations about which info I must enter ? In the case this information could matter, my SageX3 is currently in 2022 R1 release, and I'm using Postman v9.20.3 Thanks a lot !
Mauricio Galindo Posted June 2, 2022 Posted June 2, 2022 Hello, I have the same problem, when I call the endpoint to aithenticate I get a 404 with message "{"message":""}", I know is not finding some thing but I'm not sure what it is. I register the application in this url https://apps.developer-sage.com/ please advice. Best Regards
Massimo Dulisse Posted August 3, 2022 Posted August 3, 2022 Same problem here. We have X3 installed in our private cloud - how does that change the URLs? Do they remain the same? I replaced the Auth and Access token URLs with our {sageX3server}/v1/token/authorise but the response message is "unauthorised". So I wonder if the Client ID should be generated locally So can't go past getting the access token.
Bharath Chandar Muppidi Posted November 2, 2022 Posted November 2, 2022 After following the instruction provided in https://developer.sage.com/x3/graphql/quick-start/ the authentication from postman is not successfull. I am using below details to establish connection After entering the details and clicking on 'Get New Access Token' is opening below window without any option to proceed further. Please let me know, if anyone could pass through this step
Touresse Posted June 28, 2023 Posted June 28, 2023 Hello, I'm coming back after a few month on this GraphQL subject. Since my last message, I've manage to solve the {"message":""} issue. In the fields "Auth URL" and "Access Token URL" (in Postman), you must fill these with the following values : Auth URL : https://api-{your region in two letters}.sagex3.com/v1/token/authorise Access Token URL : https://api-{your region in two letters}.sagex3.com/v1/token The {your region in two letters} parameter is basically the region code from where you are located (ie. if you are from North America, the parameter must be "na", if you are from Europe, it will be "eu", etc. ) Once I've filled these fields and the scope, the call to get a new access token actually redirect me to the postman callback url, but this url send back another 404 error : "Could not associate the values with an active customer registered on Sage Business Cloud" I've searched in the differents error messages provided in this page (https://developer.sage.com/x3/graphql/guides/api-error-codes/) if I could find mine, but unfortunately, no ... My client Id and secret are coming from the values given in the App Registry Website. I do suspect my scope parameter isn't filled correctly, especially the customer parameter. Does anyone know what should I put in this parameter ? Thanks in advance. PS : a bit of a brag, but if any member of the Sage Team reads this, could you please update your tutorial about setting up GraphQL API for X3 and Postman ? Between the lack of explanation about what to use to fill the fields, indications that contradict themselves between two pages of the guide, and the short Getting started video that gives false indications on the procedure, I do think it can be improved by a lot. 3
mohamed aziz ben zina Posted March 14 Posted March 14 Hello, Has anyone found a solution yet ? Thanks.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now