Sandbox Api Auth error

I am trying to use the API and have managed to generate an access token but am getting a 403 when trying to create a custom using the access token. This is in the sandbox environment.

These are the guides I am following:

https://developers.dwolla.com/guides/auth/client-credentials-flow#step-1-generate-an-access-token

https://developers.dwolla.com/guides/send-money/create-a-customer#step-1-create-a-recipient

This is the message that goes along with the 403: “The supplied credentials are not authorized for this resource”

And for this test I am using the client key mhgv1natfEn8l99651QVIHKNfow3rgUVX0L6HB5ZZ7JCpRyG0o

Thank you,

Gary

Hi @IronNotice , Apologies for the inconvenience, this appears to be a misconfiguration of your test account. Are you able to retry that API request to see if you’re able to get around the 403 error?

Spencer,
Thanks I was able to create a customer using the API. Will continue trying with the other endpoints.
-Gary

Am experiencing the same issue too.

Hi @Immanuel_Okeke – The settings on your Sandbox account look to be fine.

Perhaps it’s a premium feature you were attempting to test in Sandbox?
If so, we’d have to manually turn on the setting for testing in Sandbox. Would you be able to share the request you were trying to run when you got this error?

Hey folks - could you help me please - seems I have the same error: "error":"unauthorized_client"
I am using dwolla-v2 npm package (node) by example set here: JavaScript SDK | Dwolla API Documentation
with environment: “sandbox”. When I found that its not works - I start trying just do .get(“customers”) endpoint and have the same issue. Double checked that have proper key and secret for application what is set https://dashboard-sandbox.dwolla.com/applications-legacy.

So could you please check on your side is everything good with my sandbox account
(my key is: k7YHbq8FgQzdk9JaR79He053bFPXpg5juWVXeKPlyvKA12YRg9)

Hey @Denis_Popov , It looks like you have two applications associated with your Sandbox account and one of them is suspended. The one that has test appended is the only active one currently. It’s possible that you’re receiving that error because of using the API credentials of the suspended app. Do you want me to reactivate both apps?

Thnx a lot! No action required, since I had an issue with my once (first application) I decided create second one - and with second one all works as expected - so seems some issue happened on first/initial application creation. But creation of second one unlocked me, since there everything OK.
Thnx!, I can confirm that I am unlocked now (just using second app)

2 Likes

I know this is an old thread, but I will chime in.

My situation is similar I have a sandbox app. Requests from Postman work, but if I use the dwolla-2 npm package with the same info I get the message: ‘The supplied credentials are not authorized for this resource.’

I am out of new ways I can scratch my head at this point and would appreciate your help :smile:

Hi @Lucas_Moreira! I’m wondering if you have multiple applications under your account with their own set of credentials and one of the apps doesn’t have the right permissions.

Would you be able to share a resource Id from your Sandbox account so I can locate your account? Also, what endpoint is returning that error?