Skip to main content
Solved

Acces denied in creating sandbox user

  • January 23, 2024
  • 11 replies
  • 341 views

Hello,

I am getting “Access denied due to invalid subscription key” when generating sanbox user. Please find screenshots attached.

 

 

 

Best answer by leontymo

You seem to be doing stuff right, so I would recommend you repeat the process in a new request or try it out from the portal. Never it might help you identify the what you missing.

11 replies

Forum|alt.badge.img

What is the URL from which the Subscription key was got? 


  • Author
  • New Member
  • January 24, 2024

Hello allan.ddamulira,

I got it from this URL: https://momodeveloper.mtn.com/profile

Screenshot attached

 


  • Community Manager
  • Answer
  • January 24, 2024

You seem to be doing stuff right, so I would recommend you repeat the process in a new request or try it out from the portal. Never it might help you identify the what you missing.


Forum|alt.badge.img

Also, you can try to cancel and re generate a new one and try again. 


  • Author
  • New Member
  • January 24, 2024

Thanks @leontymo , @allan.ddamulira .

I have already tried all that. I even signed up with a different email, but still the same. Pulling my hair 😬


Forum|alt.badge.img

Share the Email you used to create the account on momodeveloper.mtn.com. » share it directly to me and @leontymo .   


  • Author
  • New Member
  • January 24, 2024

Thanks guys. I regenerated a new subscription key and Reference Id. Sending the request from the portal works.

I also figured out that I needed to create the variables in Postman after importing the collection. Once I did that, it worked also in Postman.

Thanks again.


  • New Member
  • March 4, 2024

Am experiencing the same problem, I’ve tried everything that is suggested here but am still receiving

{

    "statusCode": 401,

    "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."

}


  • New Member
  • June 14, 2024

hello @allan.ddamulira am experiencing the same issue as described above. I was kindly requesting for your assistance as well. 


  • New Member
  • November 22, 2024

The problem has to do with “Collection Widget | Receive mobile money payments on your website through a USSD or QR code”
The other ones are working. They need to do something about it


There is a problem with  the collection widget to create users.
This I have seen is a topic the developers dont want to fix anytime soon. 
A lot of people have reported this in the past and nothing is being done about this.