-
Notifications
You must be signed in to change notification settings - Fork 30
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
New API credentials are still required in query string #175
Comments
Did you get this sorted out over the transition? It looks like the server was a bit inconsistent in it's treatment of various logins during the transition. It looks like not everybody has been shut down yet for logging in yet if they have been using the old depreciated login. So things may work unchanged in some accounts still and not work in other accounts. |
I think nothing has changed. We are fine if it is not going to change. But if it is backward incompatible, we need to know when it works differently, timing and transition. |
I am having the same problem using Postman. Passing in header api and user keys fails with "err_code": 1, "err": "Invalid API key or user key" (get, post). Are there any updates? |
I am verifying from time to time, but for what it worth, api didn't change. I hope, there will be reliable signal to transition to new api if ever needed. |
Using https://reqbin.com I was able to POST to url Taking the api_key, then I used a GET request (to read a prospect) using the Custom Authorization header |
Make sure the Auth, is set to "No Auth" and your Params are empty, unless you want the specific name of the campaign. |
Hey @danielrlambert3, take a look at our postman collection at https://sercante.com/labs to see working examples. There are test scripts in the Login request that set correct environment variables and should show you the correct path. Having said that, if you are doing fresh development I would advise you focus your efforts on getting your auth to work via Salesforce SSO instead of a Pardot Only API user. I wrote a blog post here that might help you out: https://thespotforpardot.com/2020/09/23/pardot-api-and-getting-ready-with-salesforce-sso-users/ |
@adamerstelle I can't thank you enough, this is exactly what I was looking for. |
According to new documentation at http://developer.pardot.com/ api_key and user_key should not be passed via URL query string but rather via body or header.
However no new requirements are supported while deprecated query string is still working.
As we understand before query string is deprecated new feature should work.
We tested new api via postman to verify those new requirement vs old (deprecated) ones.
Tested with Postman
The text was updated successfully, but these errors were encountered: