Why Is "projectId in token is nil" Returned When I Call an API?
The possible cause is that the project used to obtain the token is different from that used to call the Live API. Live is a project-level service, which is deployed in specific regions.
For example, if the endpoint of the token is cn-north-4, the token takes effect only in this region and can be used only to call Live APIs in this region. For details about how to obtain the project ID, see Obtaining a Project ID.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.