Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vduparc
Contributor
Contributor

Erreur : The requested scope is invalid, unknown, or malformed.

Hello,

I tried to realize a connection to GitLab in Automation.

I made an application in GitLab with every scope i had, however the error still appears.

I already check other subjects about that point and it seems that two scopes needed/asked are not available for me :

  • read_registry
  • write_registry

https://community.qlik.com/t5/Qlik-Application-Automation/Application-Automation-connect-to-company-...

Could you tell me if there's a real need of those scopes to make it works please ? 

Thanks.

Labels (2)
3 Replies
AfeefaTk
Support
Support

Hi @vduparc 

Thanks for reaching out.

Could you please share a few more details regarding the issue?

Are you able to make the connection to Gitlab? 

Or is it failing with scope error during the connection setup or while trying to use any blocks from the Gitlab connector in the automation? 

If the block fails with scope error, please let us know which block are you using.

Thanks

 

vduparc
Contributor
Contributor
Author

Hello,

The issue occurs  when i try the connection parameter of the GitLab block.

Below, my actions : 

  1. I fulfill the fields name, client_id, client_secret and domain with value asked.
  2. Click Save
  3. Click "Link Connection"
  4. Connect to Gitlab in pop-up
  5. Get the error in Gitlab

 

When i configured the application in Gitlab, i choosed the whole scopes available, however as you can check in file "Git_conf", the scopes "read_registry" and "write_registry" are not displayed and therefore not selectionable

Thanks for your help.

AfeefaTk
Support
Support

Hi @vduparc 

You need to select all the scopes apart from the sudo scope.

  1. api
  2. read_user
  3. read_api
  4. read_repository
  5. write_repository
  6. read_registry
  7. write_registry
  8. openid
  9. profile
  10. email

https://docs.gitlab.com/ee/integration/oauth_provider.html#view-all-authorized-applications.

https://community.qlik.com/t5/Official-Support-Articles/Getting-started-with-the-GitLab-connector-in....

I think the issue is that you have not selected "read_registry" and "write_registry" as it's not displayed in your app.

I would suggest you contact gitlab support team and check why those scopes are missing in your dashboard. There might be some settings that need to be enabled in your account.

Please let us know if you find a solution.

Thanks!