FATOS Developer
Developer SiteConsole
  • FATOS Developer Introduction
  • FATOS API
    • Map
      • Map control
        • Sources
        • Layers
          • Style Specification
            • Fill
            • Line
            • Symbol
            • Circle
        • Building
        • Bounds
        • Center
        • Heading
        • Flyto
        • Tilt
        • Zoom
        • Marker
          • Instance Members
        • Polyline
        • Polygon
        • Circle
        • On/Off
        • Once
        • Language
        • Theme
        • Cluster
          • Instance Members
      • Button control
      • Utilities
        • Rectangle
        • Distance
        • Area
    • Search
      • Address
      • Geocoding
      • Geofencing
      • Detail
      • Public Transport
        • Bus Route
        • Bus Route Information
        • Bus Stop Information
        • Subway Station Information
        • Subway Station Timetable
        • Public Transit POI within Radius
        • Public Transit POI on Map
        • Subway Station Transfer Information
        • Real-time Bus Location Information
        • Real-time Bus Arrival Information
    • Routing
      • Route
      • Route for truck
      • Route_v2
      • Public Transit Route Search
      • Route Graphic Data
      • Bicycle
      • Pedestrian
    • Analyze
    • Tracking
  • FATOS SDK
    • Authentication
    • Platform
      • Android
        • Start
        • Component
      • iOS
        • Start
        • Component
      • React Native
        • Start
        • Component
  • Get your API Key
  • Release Note
    • FATOS Map API
    • API Server
    • RP Server
  • Troubleshooting
    • FAQ
Powered by GitBook
On this page
  • I have got an API / SDK key but it is not working. why is it?
  • Why am I getting "403 Permission Denied"?

Was this helpful?

  1. Troubleshooting

FAQ

PreviousTroubleshooting

Last updated 4 years ago

Was this helpful?

I have got an API / SDK key but it is not working. why is it?

Why am I getting "403 Permission Denied"?

There could be numerous reasons why what you intend is not happening although you are sure that you have a valid API key. One of those cases is when you misconfigure acceptable IP address in your console page. You can set only hosts with registered IP addresses in the console page can use your API key and misconfiguring such may bring unexpected result.

Above image is a security tab in the console page. By adding domain name, IP address, or app bundle ID, you can set a constraint such that only apps or browsers that conform to the registered domain name, IP address or app bundle ID may use your API Key. By setting them, even if your API key is exposed to other people, they won't be able to make use of your API Key.‌

For example, let's say you have set up a Domain Name as "MyDomain.com" in the security tab. If you are making an API call from other than "MyDomain.com" (i.e. Postman as it doesn't have domain name unless you set a domain name within Postman as well), our server will send "403 Permission Denied" as it will check the security policy of the API Key first before responding with successful return.

tldr: Please double check your acceptable IP addresses configuration in your console page.