Skip to Content

API Management - Possible error in role assignment

HI ,

I am trying to create an API, I have connected to the backend system and the service is also fetched from the backend system, however when I try to save the API it gives me the following error.

Possible error in role assignment. If you are assigned with Admin role, it is necessary that no other role is assigned to you; Check role assignment.
[Request ID: 83b636b6-aebe-4e14-8a7e-b6a3913c41be]

I am really not sure what is the issue, anybody has ever encountered this issues? if so how did you resolve it?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Feb 19 at 08:06 PM

    Sorry to hear your trouble, can you share a bit more detail on how you arrived here?

    Are you on the Trial system or is this a productive account?
    Have you added any roles manually or have you changed any role assignments on the account?
    Have you had success in the past creating APIs, and it's just starting now or this is your first API?
    Are you able to create other APIs and it’s only this one, or you can't make any APIs?
    Is this the initial stage of the wizard driven API creation?

    This would greatly help to diagnose your issue.

    Thanks,
    Elijah

    Add comment
    10|10000 characters needed characters exceeded

  • HI Martinez,

    Here are the answers for your questions.

    1. Are you on the Trial system or is this a productive account?

    I am using the Neo trial system
    2. Have you added any roles manually or have you changed any role assignments on the account?

    I have not added any roles, the only activity what i have done regarding the role is i have removed the users from all the other API Management roles except API Management Admin ( I read a blog which asked me to do it, however even after that i got this error)
    3. Have you had success in the past creating APIs, and it's just starting now or this is your first API?

    No. I have not succeeded in the past, this is the first time I have reached a point where the I get the list of the service in my back-end system.
    4. Are you able to create other APIs and it’s only this one, or you can't make any APIs?

    I have never been able to create API in the past.
    5. Is this the initial stage of the wizard driven API creation?

    I am not using the wizard, i am using the option Create API which guides me to select the destination and then select the service which is listed.

    I hope I have answered all your questions as clearly as possible, do let me know if you need any more screen shots.

    Here are the steps and screenshots of the screen explaining how i arrived at the error.


    STEP 0 : After access the API Management from the Services screen I get the below screen,i selected the "Access API Portal" link



    STEP 1 : I get the below screen,I selected the Create option.



    STEP 2 : I get this screen to select the API Provider, once I select the API Provider i will get button "Discover"



    STEP 3 : I get this screen to select the service which i want to expose as API.



    STEP 4 : After selecting the service and clicking the ok button, i will get this screen, I click the button "Create"



    STEP 5 : After clicking the Create button, i get this screen which lists the details of the service which was selected.



    STEP 6 : After clicking the button "Create" button in the STEP 5, i get this screen .



    STEP 7 : When I click the button "Save as Draft" button in the right top side of the screen, i get this error

    Thanks,

    George.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 12 at 08:04 AM

    I have the same problem.

    If it solved, could you pls suggest to solve this issue?

    Plz guide me.

    Thank.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Lee,

      I know that the issue is the conflict in the assignment of the users for the default roles defined. ( long time back, not reading the documentation i just went ahead and added my user id to all the roles which were defined in the API management and now i am not able to remove those users as it is giving me 500 Server error when I try to remove my user id ). So what I suggest is that create a new SCP account using a different id and try creating the API without making changes to the default roles or any of the roles.

      ( how do i know that the issue is with the role conflict? : I have another SCP account in which i did  not add my user id to the default API Management roles and when I tried to create the API it was very   successful )
  • Mar 13 at 11:38 AM

    Hello,

    Could you please let us know the roles assigned to your user in the APIPortal.

    In the API Management service tile, click on API Portal (Roles & Destinations)

    There are some roles conflict, so it will help us to solve this issue

    Regards,

    Raghavendra Kulkarni

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 14 at 06:29 AM

    Hello,

    Your user is assigned the role APIPortal.Service.Replication

    Please unassign the role & try, this should work..

    Regards,

    Raghavendra Kulkarni

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello, Raghavendra Kulkarni.

      The problem is solved.

      Thank.you for help.

      Regards,