Token error generator


(Ilya Lezov) #1

Hi guys,

I have an issue related token generating for production with help
https://tokengenerator.dwolla.com/ tool.

I try to generate token for production and got error

{
“error”: “access_denied”,
“error_description”: “Invalid code.”
}

Could you please help me?


(Ben Milne) #2

If you don’t add the Application Key and Secret you can get that error.

Easy fix is to click this which is right below those input fields:

Then sign in with UAT credentials.

Let us know if you still run into the same problem.


(Stephen Ausman) #3

Hey Ilya,

Thanks for bringing this to our attention! I think I tracked down the bug. We’ll work on getting this fixed. In the meantime if you try again it should work after a few attempts.


(Ilya Lezov) #4

Hey Stephen,

This problem still reproduced. I have tried more than 10 times and got same result

{
“error”: “access_denied”,
“error_description”: “Invalid code.”
}

Thanks,
Ilya.


(Ben Milne) #5

Sorry to hear about the issue. I’m having trouble reproducing but can offer an alternative to get your access and refresh token pair.

You can bypass token generator and simply do it on dwolla.com here:

https://www.dwolla.com/applications/create

or in UAT here:

https://uat.dwolla.com/applications/create


(Ilya Lezov) #6

Hi Ben,

When I create token here https://www.dwolla.com/applications/create
I don’t have manage customers permission but I need it.
If I create verifyied customer via API with access token generated on https://www.dwolla.com/applications/create page I got “Unauthorized” HTTP response.

May be do you know the way to createa tokens pair with Manage Customers permission?

Thansk,
Ilya.


(Spencer Hunter) #7

@Ilya_Lezov, The ManageCustomers scope is required for White Label services within API v2 and is not globally enabled in production. To learn more about entering into a White Label agreement, please contact Sales!

If you are looking to generate a token in our Sandbox environment(UAT) then, by default, the ManageCustomers scope is enabled on your application upon creation.


(Ilya Lezov) #8

Thank you, Spencer!