সমস্যা সমাধান
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এখানে সাধারণ সমস্যাগুলির সমস্যা সমাধানের কিছু টিপস রয়েছে৷
কেন নির্ভুলতা ব্যাসার্ধ খুব বড়?
যদি আপনার ভূ-অবস্থান প্রতিক্রিয়া সঠিকতার ক্ষেত্রে খুব বেশি মান দেখায়, তাহলে পরিষেবাটি অনুরোধ IP-এর উপর ভিত্তি করে, WiFi পয়েন্ট বা সেল টাওয়ারের পরিবর্তে জিওলোকেটিং হতে পারে। এই ধরনের প্রতিক্রিয়া ঘটতে পারে যদি পরিষেবা কোনও সেল টাওয়ার বা অ্যাক্সেস পয়েন্ট চিনতে না পারে।
পরিষেবাটি আপনার অ্যাক্সেস পয়েন্টগুলিকে ভৌগোলিক স্থান নির্ধারণ করতে পারে না তা নিশ্চিত করতে, আপনার অনুরোধে considerIp
মিথ্যাতে সেট করুন৷ যদি প্রতিক্রিয়া একটি 404 হয়, আপনি নিশ্চিত করেছেন যে আপনার wifiAccessPoints এবং cellTowers অবজেক্টগুলি জিওলোকেটেড করা যায়নি৷
আমি কিভাবে একটি প্রতিক্রিয়া ত্রুটির সমস্যা সমাধান করব?
যদি আপনার অনুরোধ একটি ত্রুটি তৈরি করে, সিস্টেমটি একটি স্ট্যান্ডার্ড ফরম্যাট ত্রুটি প্রতিক্রিয়া বডি ফেরত দেয় এবং HTTP স্থিতি কোডটিকে একটি ত্রুটি স্থিতিতে সেট করে।
ত্রুটি প্রতিক্রিয়া নিম্নলিখিত কীগুলির সাথে একটি একক ত্রুটি বস্তু সহ একটি বস্তু রয়েছে:
-
code
: এটি প্রতিক্রিয়ার HTTP অবস্থার মতোই। -
message
: ত্রুটির একটি সংক্ষিপ্ত বিবরণ। -
errors
: যে ত্রুটিগুলি ঘটেছে তার একটি তালিকা৷ প্রতিটি ত্রুটিতে ত্রুটির ধরন (কারণ) এবং একটি সংক্ষিপ্ত বিবরণ (বার্তা) জন্য একটি শনাক্তকারী রয়েছে।
উদাহরণস্বরূপ, অবৈধ JSON পাঠালে নিম্নলিখিত ত্রুটি দেখায়:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "parseError",
"message": "Parse Error",
}
],
"code": 400,
"message": "Parse Error"
}
}
অতিরিক্ত পরীক্ষার জন্য, আপনি নিম্নলিখিত SDK এবং API ব্যবহার করে আপনার ডিভাইস থেকে তথ্য সংগ্রহ করতে পারেন:
ত্রুটি বর্ণনা
বর্ণনার সাথে আপনার সম্মুখীন হতে পারে এমন সম্ভাব্য ত্রুটিগুলি এখানে রয়েছে৷
কারণ | ডোমেইন | HTTP স্ট্যাটাস কোড | বর্ণনা |
---|
dailyLimitExceeded | usageLimits | 403 | আপনি আপনার দৈনিক সীমা অতিক্রম করেছেন৷ |
keyInvalid | usageLimits | 400 | আপনার API কী জিওলোকেশন API-এর জন্য বৈধ নয়। সম্পূর্ণ কী অন্তর্ভুক্ত করতে ভুলবেন না, এবং আপনি হয় API কিনেছেন বা বিলিং সক্ষম করেছেন এবং কোনো চার্জ ছাড়াই কোটা পেতে API সক্রিয় করেছেন । |
userRateLimitExceeded | usageLimits | 403 | আপনি Google ক্লাউড কনসোলে কনফিগার করা অনুরোধের সীমা অতিক্রম করেছেন৷ এই সীমাটি সাধারণত প্রতিদিন অনুরোধ, প্রতি 100 সেকেন্ডে অনুরোধ এবং প্রতি ব্যবহারকারী প্রতি 100 সেকেন্ডে অনুরোধ হিসাবে সেট করা হয়। ব্যবহারকারীদের একটি একক বা ছোট গোষ্ঠীকে আপনার প্রতিদিনের কোটা শেষ করা থেকে বিরত রাখতে আপনার সীমা কনফিগার করা উচিত, যদিও এখনও সমস্ত ব্যবহারকারীকে যুক্তিসঙ্গত অ্যাক্সেসের অনুমতি দেওয়া হয়। এই সীমাগুলি কনফিগার করতে ক্যাপিং API ব্যবহার দেখুন। |
notFound | geolocation | 404 | অনুরোধ বৈধ ছিল, কিন্তু কোন ফলাফল ফিরে আসেনি. |
parseError | global | 400 | অনুরোধের মূল অংশ JSON বৈধ নয়। প্রতিটি ক্ষেত্রের বিশদ বিবরণের জন্য অনুরোধের বডি বিভাগটি পড়ুন। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Geolocation API uses IP addresses, WiFi points, and cell towers to determine location, with large accuracy radius often indicating IP-based geolocation.\u003c/p\u003e\n"],["\u003cp\u003eTroubleshooting involves examining the error response, which includes an error code, message, and a list of errors with reasons and descriptions.\u003c/p\u003e\n"],["\u003cp\u003eYou can gather additional testing information from devices using the Android Location APIs, Places SDK for Android and iOS.\u003c/p\u003e\n"],["\u003cp\u003ePossible errors include exceeding daily or user request limits, using an invalid API key, and requests returning no results despite being valid.\u003c/p\u003e\n"]]],["If a large accuracy radius is shown, the service may be using the request IP instead of cell towers or WiFi. Test by setting `considerIp` to false; a 404 response confirms no access points were found. Error responses include a `code` (HTTP status), `message`, and an `errors` list with `reason` and `message`. Common errors include `dailyLimitExceeded` (403), `keyInvalid` (400), `userRateLimitExceeded` (403), `notFound` (404), and `parseError` (400) due to invalid JSON.\n"],null,["# Troubleshoot\n\nHere are some tips on troubleshooting common issues.\n\nWhy is the accuracy radius very large?\n--------------------------------------\n\nIf your Geolocation response shows a very high value in the accuracy field, the\nservice may be geolocating based on the request IP, instead of WiFi points or\ncell towers. These kinds of responses can happen if the service does not\nrecognize any cell towers or access points.\n\nTo confirm that the service could not geolocate your access points, set\n`considerIp` to false in your request. If the response is a 404, you've\nconfirmed that your wifiAccessPoints and cellTowers objects could not be geolocated.\n\nHow do I troubleshoot a response error?\n---------------------------------------\n\nIf your request generates an error, the system returns a standard format error\nresponse body and sets the HTTP status code to an error status.\n\nThe error response contains an object with a single error object with the\nfollowing keys:\n\n- `code`: This is the same as the HTTP status of the response.\n- `message`: A short description of the error.\n- `errors`: A list of errors that occurred. Each error contains an identifier for the type of error (the reason) and a short description (the message).\n\nFor example, sending invalid JSON returns the following error: \n\n {\n \"error\": {\n \"errors\": [\n {\n \"domain\": \"global\",\n \"reason\": \"parseError\",\n \"message\": \"Parse Error\",\n }\n ],\n \"code\": 400,\n \"message\": \"Parse Error\"\n }\n }\n\nGather testing information from devices\n---------------------------------------\n\nFor additional testing, you can gather information from your device using the\nfollowing SDKs and APIs:\n\n- **Android devices** : Go to [Places SDK for Android](/maps/documentation/places/android-sdk/current-place), and [Android\n Location APIs](https://developer.android.com/training/location/index.html).\n\n- **iOS devices** : Go to [Places SDK for iOS](/maps/documentation/places/ios-sdk/current-place).\n\nError descriptions\n------------------\n\nHere are the possible errors you might encounter with descriptions.\n\n| Reason | Domain | HTTP Status Code | Description |\n|-------------------------|---------------|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dailyLimitExceeded` | `usageLimits` | 403 | You have exceeded your [daily limit](/maps/documentation/geolocation/usage-and-billing#other-usage-limits). |\n| `keyInvalid` | `usageLimits` | 400 | Your API key is not valid for the Geolocation API. Be sure to include the entire key, and that you've either purchased the API or have [enabled billing and activated the API](/maps/documentation/geolocation/get-api-key) to obtain the quota at no charge. |\n| `userRateLimitExceeded` | `usageLimits` | 403 | You have exceeded the request limit that you configured in the Google Cloud console. This limit is typically set as requests per day, requests per 100 seconds, and requests per 100 seconds per user. You should configure your limit to prevent a single or small group of users from exhausting your daily quota, while still allowing reasonable access to all users. See [Capping API Usage](https://cloud.google.com/apis/docs/capping-api-usage) to configure these limits. |\n| `notFound` | `geolocation` | 404 | The request was valid, but no results were returned. |\n| `parseError` | `global` | 400 | The request body is not valid JSON. Refer to the [Request Body](/maps/documentation/geolocation/requests-geolocation#body) section for details on each field. |"]]