Fix lỗi you are not authorized to use this service năm 2024

This documentation provides specific instructions to address the “This API Project is Not Authorized to Use This API” error for various Google APIs, including Geocoding, JavaScript Maps, Direction, and Place APIs. The error message indicates that a particular API is not enabled for your project. This guide will help you identify which API is causing the issue and how to enable the required libraries accordingly.

1. Geocoding API Not Enabled

Scenario: If you encounter the error message during the import or integration phase, it likely indicates that the Geocoding API is not enabled for your project.

Solution:

  1. Log in to the Google Cloud Console.
  2. Go to the “APIs & Services” > “Library” section.
  3. Search for “Geocoding API” and select it.
  4. Click the “Enable” button to enable the Geocoding API for your project.

2. Google JavaScript Maps API Not Enabled

Scenario: If you see the error message on a store locator page or when embedding a map using JavaScript, it suggests that the Google JavaScript Maps API is not enabled for your project.

Solution:

  1. Access the Google Cloud Console.
  2. Navigate to “APIs & Services” > “Library.”
  3. Search for “Google Maps JavaScript API” and select it.
  4. Click the “Enable” button to enable the JavaScript Maps API for your project.

3. Place API Not Enabled

Scenario: If the error occurs during a search API function, it indicates that the Place API is not enabled for your project.

Solution:

  1. Sign in to the Google Cloud Console.
  2. Proceed to “APIs & Services” > “Library.”
  3. Search for “Places API” and select it.
  4. Click the “Enable” button to enable the Place API for your project.

4. Google Direction API Not Enabled

Scenario: If the error appears while rendering directions, it suggests that the Google Direction API is not enabled for your project.

Solution:

  1. Log in to the Google Cloud Console.
  2. Go to “APIs & Services” > “Library.”
  3. Search for “Directions API” and select it.
  4. Click the “Enable” button to enable the Direction API for your project.

Conclusion

By identifying the specific API causing the “This API Project is Not Authorized to Use This API” error and following the relevant solution provided in this documentation, you can successfully enable the required libraries and resolve the issue. Always ensure that you refer to the official Google Cloud Console for enabling APIs and consult the API documentation for integration details.

If you have received this error when attempting to use TDO Mobile, it is likely that you are trying to access from a new device. When you change devices, a new PIN will need to be associated with the account inputted in the Setup area. This article goes over how to resolve this error.

Detailed Instructions

You will need to reenter your user name and password again in the Setup screen.

After you have done that, go to the main page of the app and click the "i" icon in the lower right corner

This will bring you to a page with the pin number. Click on the "Send to Support" button to send the pin to TDO support.

A TDO support member will activate the pin for you and notify you it is active and TDO is ready to use.

You may receive an error message that states that you are not authorized to access applications that are published through Microsoft Forefront Unified Access Gateway. This problem may occur even if you are a member of a group that is granted permissions to view those applications.

This problem may occur if the group name that's used for authorization contains one or more multibyte characters. This problem does not occur if you are a direct member of such a group. However, if you are a member of the group only through group nesting, you will receive the error message.

Cause

This problem occurs because Unified Access Gateway does not encode multibyte characters correctly when it processes nested groups.

Resolution

This problem is fixed in Rollup 1 for Forefront Unified Access Gateway 2010 Service Pack 4.

Workaround

To work around this problem, authorize access to applications by using only individual user accounts or groups that users are direct members of.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.