Hi there,
I’ve got some API documentation that I’m working with to get some OAuth2 set up.
I’ve successfully got the application to go to the Authorize endpoint, where I can choose the scopes etc, but when I click confirm on the brand’s page, and I guess it’s making a POST to the Access Token endpoint I’m getting the result “Field named access_token
not found in OAuth2 results”.
Authorize: https://ads.XXXXXX.com/marketing_api/auth?app_id=XXX&state=xxx&scope=xxx&redirect_uri=xxx.
Access Token: https://ads.XXXXXX.com/open_api/v1.2/oauth2/access_token
Taking the auth_code
from the URL when Zapier tells me the “Field named access_token
not found in OAuth2 results”, I can curl the Access Token endpoint and get a valid token.
I’m assuming that I’ve got something incorrectly configured, and I wonder if it’s down to the way that the brand is returning the authorization code?
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/1501d291-b31d-4c6f-a53a-4cbcea1fb106.png)
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/52c720ab-d6aa-4952-bb08-d7c916093b14.png)
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/7d1c6c6a-8900-49b0-823b-5999b82b509c.png)
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/c451970e-d54f-48dd-a962-565ed871188d.png)
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/2618b2f7-e2f3-4e19-ac78-444dfea78c01.png)
Any help welcome!
Thank you in advance.