Speech Interaction Service
Speech Interaction Service
- what's new
- Service Overview
- Getting Started
- SDK Reference
- API Reference
-
FAQs
- General Consulting
- Billing
-
API
- Why Is the Recognition Result Very Poor?
- How Do I Call the APIs of SIS?
- Why Does the Returned Status is Normal But the Recognition Result is Empty?
- What Are the Username, Domain Name, and Project Name in the Token Message Body?
- Can I Call SIS APIs Concurrently?
- What Do I Do If the Error Message "auth failed" Is Displayed During SIS API Calling?
- What Do I Do If SIS API Calling Times Out?
- What Do I Do If the Error Message "The silence time is too long, and the audio will not be recognized" Is Displayed?
- How Do I Obtain a Token?
- SDK
- Error Code
- Deployment
- Regions and AZs
- Permissions
- General Reference
Help Center/
Speech Interaction Service/
FAQs/
API/
What Do I Do If the Error Message "auth failed" Is Displayed During SIS API Calling?
Copied.
What Do I Do If the Error Message "auth failed" Is Displayed During SIS API Calling?
Symptom
There are multiple causes for authentication failures. Generally, it is because that an incorrect token is used to access the server.
Solution
- Check whether the user account is normal.
Check whether the user account is recharged or frozen. You can log in to your account and check whether your account balance is sufficient (or query the preceding information on the user console).
- Check whether the obtained token is normal.
- Use AK/SK for accessing and check whether the AK and SK are correct.
- Check whether the project_id is correctly entered.
NOTE:
If the fault fails to be located and rectified, contact customer service.
auth_data = { "auth": { "identity": { "password": { "user": { "name": user_name, "password": password, "domain": { "name": domain_name } } }, "methods": ["password"] }, "scope": { "project": { "name": region } } } }
Parent topic: API
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