you are not authorized to set the license key

Hello everyone, why unity is not accepting my app key and is showing this error , i have done this before in other apps.
Can someone show me how to do it now.
I have the latest version of unity.

Where do you get this error? In the editor? In the UGS dashboard? Please provide more information.

I get this error in Unity / Project Settings / Services/ In-App Purchasing , where i need to put my license key

Unity / Project Settings / Services/ In-App Purchasing