Ruijie Community

Title: Cloud API: "You do not have permission to perform this operation", my token is valid [Print this page]

Author: nurburgring25@g    Time: 2024-12-17 16:48
Title: Cloud API: "You do not have permission to perform this operation", my token is valid
?



Hi,
I want to generate voucher using this endpoint


But when i try to request this endpoint, i've got an error said "You do not have permission to perform this operation.", even with a valid token that i received before by hitting
/service/api/oauth20/client/access_token endpoint.



Is there something that i missed here?. Thank you
Regards





Author: v-shaojinren@ru    Time: 2024-12-17 20:56
Edited by GTAC-Ryan at 2024-12-17 20:59

Dear Irfan,
To get an access token, you will need to send a login request first. May I ask if the login request has received a proper response?

Please also mind that appid and secret parameters in the login request need application to get access to. If you have yet to apply for the access of the Ruijie Cloud API, please send the following information to "service_rj@ruijienetworks.com" via an email with this post attached so we can apply it for you.
---
Customer Name:
Email:
Country:
API Purpose(Please be specific about it):
User Role (VAD/SUB/SI):
---
If you have the access for API, you can check the appid and secret parameters in your account.

Author: nurburgring25@g    Time: 2024-12-18 10:13
I already trying login request, but got an error says "Login failed"



I already put the correct appId and appSecret as stated in my cloud console. Also use the same account and password as when logging into the cloud console



Regards



Author: yujiamin@ruijie    Time: 2024-12-19 09:53
Muhammad Irfan replied at 2024-12-18 10:13
I already trying login request, but got an error says "Login failed"

Dear,

You can try to follow the Ruijie Cloud API Document via this guide to apply the API again: https://cloud.ruijienetworks.com/help/#/
If the problem still exists, please send the following information to "service_rj@ruijienetworks.com" via an email with this post attached so we can apply it for you.
---
Customer Name:
Email:
Country:
API Purpose(Please be specific about it):
User Role (VAD/SUB/SI):
---

Best regards






Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2