Updated on 2025-04-25 GMT+08:00
Why Can't an IAM User Make API Calls?
Symptom
When an IAM user makes an API call, an error message similar to the following is displayed:
"code":403,"message":"This user only supports console access, not programmatic access."
This error message indicates that the IAM user does not have programmatic access permissions.
Solution
- Contact the account administrator and log in to the IAM console.
- Locate the IAM user to be modified and click the username.
- Change the access mode and select both Programmatic access and Management console access.
Figure 1 Changing the access mode of an IAM user
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot